> On Oct 12, 2015, at 5:52 PM, Graeme Geldenhuys
> <[email protected]> wrote:
>
> http://members.upc.nl/h.speksnijder4/software/fpGUI/pngloader.html
Thanks for the links. BeRoPNG seems to load a PNG and the author states it’s
fast and has no external dependancies. Fantastic.
According to Reimar’s code the raw image data is sufficient for glTexImage2D so
I wonder if the data pointer returned from BeRoPNG would work also?
In my Apple CoreGraphics code I was drawing the image into a bitmap context and
getting pixel data from the bitmap but that seems to be an extra step now.
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal