News for hackers. Stuff that matters.
Re:The Biggest Smallest PNG by Retr0id on Wednesday January 10, 2024 @02:06PM (#38941920)
You can indeed, if you slice off everything after and including the zlib adler32 checksum. In some situations you might need to add some extra (compressed) padding bytes to flush the pixel data you care about through the parser state machine. This works in every browser I tested (as a consequence of their ability to preview partially-downloaded files) but not in many standalone image viewers (since they usually expect whole files).

There are no comments on this comment yet.