Menu

#57 Need support for IDAT larger than 2GB

open
None
5
2018-01-07
2017-03-15
Johnny Derp
No

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

Discussion

  • Cosmin Truta

    Cosmin Truta - 2018-01-07

    Ticket moved from /p/optipng/bugs/67/

     
  • Cosmin Truta

    Cosmin Truta - 2018-01-07
    • summary: Out of memory? --> Need support for IDAT larger than 2GB
    • assigned_to: Cosmin Truta
    • Group: v1.0 (example) --> Next Release (example)
     
  • Cosmin Truta

    Cosmin Truta - 2018-01-07

    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.

     

Log in to post a comment.