Hi Ivo,
Why set the imageFormat to cc.FMT_PNG?
Sometimes this value equals to cc.FMT_TIFF. Is there any mistake in cc.getImageFormatByData?

Thank you.