Need support for IDAT larger than 2GB
Advanced PNG optimization program
Status: Beta
Brought to you by:
cosmin
Hi, it's not really a bug per se but I ran into the following error "out of memory" when trying to optimize really big PNG files. I saw a 2GB limit about IDAT chunks but I don't know if it's still true with the newest versions of OptiPNG?
Anyway, the files I tried weighted at least more than 2GB (file size) and had a resolution of 1 Gigapixels. Is it an issue with OptiPNG being 32-bits and so limited to 4GB of RAM?
Thanks
Ticket moved from /p/optipng/bugs/67/
I moved this ticket from "Bugs" to "Feature Requests". This is a known limitation, which results from the concatenation of all IDAT chunks into a single one, without considering that the total amount of IDAT data may be larger than 2GB.
Using a 64-bit build won't help in this situation.
Future releases should either have this limitation removed, or mentioned as a bug in the user manual.