On Tue, 2009-10-06 at 11:55 +0300, Lucian Sabo wrote:
> Do you have a sample source code in C for this ? I assume there is a
> way to get a pointer to the RGBA pixel data with all layers combined.

If you need the data from all layers combined, then you can use
gimp_layer_new_from_visible () to create a temporary layer that your
plug-in can then read the pixel data from.

How to access pixel data from a plug-in is explained in


Gimp-developer mailing list

Reply via email to