If you need png reading, why not use http://www.pascalgamedevelopment.com...ete-PNG-loader ?