Added initial code for convertPNG