GTKD Cairo get pixel color
TheDGuy via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jan 4 14:08:55 PST 2016
On Monday, 4 January 2016 at 21:42:16 UTC, Mike Wey wrote:
> On 01/04/2016 09:13 PM, TheDGuy wrote:
>> [...]
>
> I don't have any issues with either getPixelsWithLength and
> savev.
> for the savev call there is an missing \ just before test.jpg,
> but that might be a copy and paste error?
>
> For the options that are available for savev the documentation
> of GDK-PixBuff lists the few available options.
> https://developer.gnome.org/gdk-pixbuf/unstable/gdk-pixbuf-File-saving.html#gdk-pixbuf-save
>
> Although i'm on Linux so that might make an difference.
Ups, that was my fault, sry :(
But how do i get now the color for each pixel out of the ubyte[]?
More information about the Digitalmars-d-learn
mailing list