• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    DWF

    Reply
    Active Member
    reterVision
    Posts: 10
    Registered: ‎10-10-2011

    About WT_PNG_Group4_Image

    49 Views, 0 Replies
    11-03-2011 03:05 AM

    Hi,

     

    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!

    Please use plain text.