Re: obtain a Windows DIB handle to a GIMP selection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
http://developer.gimp.org/writing-a-plug-in/2/


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux