[Gimp-developer] how to save plugin's data

2007-05-16 Thread tao frank
Hi list, I know that some data of plugin can be stored in GIMP's pool by the function below: gimp_set_data (some_data, mydata, sizeof (MyData)); But how big can this data be? If I want to store a very big data, say, a color mask of an image, what should I do? Is it advisable to save this kind

Re: [Gimp-developer] how to save plugin's data

2007-05-16 Thread Simon Budig
tao frank ([EMAIL PROTECTED]) wrote: I know that some data of plugin can be stored in GIMP's pool by the function below: gimp_set_data (some_data, mydata, sizeof (MyData)); But how big can this data be? If I want to store a very big data, say, a color mask of an image, what should I do?

Re: [Gimp-developer] how to save plugin's data

2007-05-16 Thread tao frank
2007/5/17, Simon Budig [EMAIL PROTECTED]: This data gets stored in the RAM and then sits there. Although there is no limit on the size of this data this functionality is not intended to store huge amounts of data. It is more about a small struct saving the preferences of a plugin or similiar