Re: Write pre filtered and compressed data
John Bowler <[email protected]>
| Newsgroups | gmane.comp.graphics.png.devel |
|---|---|
| Message-ID | <CAP7U39-1qeB0kL8kE0NS0DR-2+skeJLqYca+t76Bmi7Bzy7gTw@mail.gmail.com> |
Incidentally, if you cannot do it the way I described and have to rewrite all the image data the IDAT chunks will change and then you cannot copy unknown chunks unless they are marked safe-to-copy. This is because they may depend on the precise form of the IDAT chunks. Also, when you mark IDAT as "unknown" make sure to specify the default for unknown chunks as "save". This will allow you to copy any PNG (even if it has an unknown critical chunk.) John Bowler ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot