openpreserve / jpylyzer

JP2 (JPEG 2000 Part 1) validator and properties extractor. Jpylyzer was specifically created to check that a JP2 file really conforms to the format's specifications. Additionally jpylyzer is able to extract technical characteristics.
http://jpylyzer.openpreservation.org/
Other
69 stars 28 forks source link

Channel Definition box: add test for uniqueness of channel/colour associations #201

Open bitsgalore opened 9 months ago

bitsgalore commented 9 months ago

JPH spec (D.6.2):

In contrast to the JP2 file format, multiple channels can be associated with the same colour.

JP2 spec (I.5.3.6):

There shall be one channel definition in this box for every colour required by the colourspace specification of this file as specified by the Colourspace Specification box.

Jpylyzer doesn't currrently test for this, this could be added (but only for JP2, not JPH!).