Wesley,
I just tested IEExtToFileFormat and the correct file format is returned for png.
iFileType := IEExtToFileFormat(ExtractFileExt(AFilename));
Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development