in reply to working with png data

Have you tried PDL?