draw png image

Discussion in 'Win32' started by sachin jesukaran, Feb 4, 2009.

  1. sachin jesukaran

    sachin jesukaran New Member

    Joined:
    Jan 28, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    hi everyone,
    i have a png image in my sqlite database now i want to read this image from my database i read this image and get it as a byte array nw ho do i go about converting this byte array into a bitmap so that i can paint it on the device.i tried it using DIBSECTION but it only paints the image if the image stored in the database is in a bmp format it does not print if the image stored in the database is a png i get a black image painted on the screen.
    thank you.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice