I met a problem when parsing WT_PNG_Group4_Image,
cause I'm using OpenGL texture to render the image, so I called WT_PNG_Group4_Image::data() function to extract the data from the object. But the display is not right, is this because the extracted data belongs to a PNG file?
I've checked the object's type, which is WD_IMAGE_PNG_EXT_OPCODE.
If it is the PNG data, does it mean I need to convert it to normal RGB data to correctly display?
Thank you very much!
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register