Covert raw image data into PNG
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Covert raw image data into PNG

  1. #1
    Join Date
    Aug 2012
    Posts
    53

    Covert raw image data into PNG

    Hey there,

    I have the raw image data and now want to convert it to PNG image. How can i do that? The raw image data is stored in a unsigned char *.

    I know how to convert it to Bitmap, but have no idea how to convert it to PNG.

    Thanks in advance.

  2. #2
    Join Date
    Jun 2010
    Location
    Germany
    Posts
    2,585

    Re: Covert raw image data into PNG

    You may create a GDI+ Bitmap from your image data and then save that as PNG.
    I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.

    This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.

  3. #3

    Re: Covert raw image data into PNG

    Quote Originally Posted by Don Guy View Post
    Hey there,

    I have the raw image data and now want to convert image to PNG image. How can i do that? The raw image data is stored in a unsigned char *.

    I know how to convert it to Bitmap, but have no idea how to convert it to PNG.

    Thanks in advance.

    More feasible solutions are listed here.

    http://stackoverflow.com/questions/7...w-image-to-png

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center