Skip to content

v0.29.1

Choose a tag to compare

@osamu620 osamu620 released this 23 Nov 07:10
· 48 commits to main since this release

Reports the tiles a codestream has no data for once per decode, not once for
each tile. A codestream cut short lacks every tile after the cut, and a small
one can declare 65535 tiles: one of 1.3 KB drew 65279 warnings from a single
decode. An application that passes the library's warnings on to its log got
all of them.

Encoded and decoded output are byte-identical to 0.29.0.

Changed

  • Decoder: a codestream without data for some of its tiles (one cut short lacks
    every tile after the cut) gets the warning codestream has no data for tile N — decoding it as empty for the first such tile of a decode, not for each
    one. A codestream of 1.3 KB that declares 65280 tiles drew 65279 warnings,
    more than 4 MB of text. is_truncated() reports such a decode as before.