Hi, Am Sonntag, den 06.11.2005, 12:22 +0100 schrieb Mattias Gaertner: > On Sun, 06 Nov 2005 12:01:52 +0100 > dannym <[EMAIL PROTECTED]> wrote: > > > patch attached. > > > > [...] > > > gdkimage bpp is _bytes_ per pixel. > > > > > > In the lcl it is compared with a value that is _bits_ per pixel. > > Because here it is bits per pixel. For example: 32. > It seems the bpp meaning vary. We have to find out, when it is what.
I see... very weird. Both the gtk 1.2 docs http://developer.gnome.org/doc/API/gdk/gdk-images.html#GDKIMAGE , and the gtk 2.6.2 docs http://www.gtk.org/api/2.6/gdk/gdk-Images.html#GdkImage state: guint16 bpp; /* read only. bytes per pixel */ What version do you have ? Can you check the docs in your gtk version's source tarball? > > > Mattias > cheers, Danny _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
