#25 INTERNAL ERROR: Image rows have been allocated too early

closed-fixed
Cosmin Truta
None
7
2011-01-31
2010-12-20
Matthew
No

(Found while investigating #3140468:)
If the first IDAT block of a PNG is empty (but a valid one follows), OptiPNG will report: ** INTERNAL ERROR: Image rows have been allocated too early

Discussion

  • Matthew
    Matthew
    2010-12-20

    PNG with zero-length first IDAT block

     
    Attachments
  • Cosmin Truta
    Cosmin Truta
    2011-01-14

    • priority: 5 --> 9
    • assigned_to: nobody --> cosmin
    • status: open --> open-accepted
     
  • Cosmin Truta
    Cosmin Truta
    2011-01-14

    Hello, Matthew.
    This is an important bug, that I had also discovered, and I already have a fix. Thank you for your report.
    There are also issues (although they're unrelated) with empty chunks at or near the end of the IDAT sequence. I fixed that as well.
    I'm planning to make a new release over this weekend.

     
  • Cosmin Truta
    Cosmin Truta
    2011-01-14

    • priority: 9 --> 7
     
  • Cosmin Truta
    Cosmin Truta
    2011-01-31

    Fixed in v0.6.5.

     
  • Cosmin Truta
    Cosmin Truta
    2011-01-31

    • status: open-accepted --> closed-fixed