dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: png decoding

  1. #1
    Join Date
    Oct 2004
    Posts
    270

    png decoding

    Hallo,
    I am trying to decode the png format, but the result is not correct.
    Anyone knows how to do that? It is applied the paeth algorithm, which is a combination of the byte above, the byte on the left and the upper left byte, but the reconstruction is not correct.
    Thank you
    Isabella

  2. #2
    VictorN's Avatar
    VictorN is online now Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,543

    Re: png decoding

    Did you consider using CImage Class?
    Victor Nijegorodov

  3. #3
    Join Date
    Oct 2004
    Posts
    270

    Re: png decoding

    Quote Originally Posted by VictorN View Post
    Did you consider using CImage Class?
    The problem is that the bytes of the image are form a pdf file. in this file, the bytes are encoded using png rules, so with these bytes i am not able to build the image, i have to decompress them before, it seems.

  4. #4
    VictorN's Avatar
    VictorN is online now Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,543

    Re: png decoding

    And how do you get/read these bytes from a "pdf file"?
    Victor Nijegorodov

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




On-Demand Webinars (sponsored)