On 2015-10-11 05:29, Ryan Joseph wrote:
> Does the FPC RTL contain any units for loading PNG files as bitmaps

As Michael mentioned, fpimage and fpreadpng can do this. Here is how I
use it to populate fpGUI's TfpgImage class with image data.

https://github.com/graemeg/fpGUI/blob/develop/src/corelib/fpg_imgfmt_png.pas


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to