Nice one Jeremy

If anyone is interested, there is also now this version of a no 3rd party PNG reader/writer that is open source and works with FPC (written by Christian-W. Budde in the graphics32 forums):

http://sourceforge.net/projects/gr32pnglibrary/

It loads a png file into a TBitmap32 class, but I think the underlying classes could also be used to load png files into other things too instead of just Graphics32 classes

cheers,
Paul