Powered by OPF
OPF WIKI STATIC ARCHIVE
2,681 pages · 153 spaces · 776 tags · 4,025 history records · 96.2% of the original wiki recovered
Archived copy. This page was recovered from the Internet Archive snapshot of /display/TR/Files identified as JP2 are really JPX taken on 2012-12-05. The original wiki at wiki.opf-labs.org is being decommissioned.

Files identified as JP2 are really JPX

Created by Johan van der Knijff on Dec 21, 2011 · last edited by Johan van der Knijff · on Aug 22, 2012 (view history) · 18 versions

Description

Some software applications produce JPX (JPEG 2000 Part 2) files that are superficially indistinguishable from JP2. This applies, for example, to the Adobe JPEG 2000 plugin that comes with Adobe Photoshop (add version). In principle, JPX files can be distinguished from JP2 by the value of the brand field in the File Type Box. For JP2 this is 'jp2 ' (0x6a70 3220). The specification of JPX (15444-2annexm.pdf) states that a value of 'jpx ' (0x6a70 7820) shall be used for "files that are completely defined by" JPEG 2000 Part 2. However, if applications ignore this, such JPX files can be easily mistaken for JP2s.

Risks

The main risk is that materials may be ingested that contain advanced features of JPX, even though identification tools will identify these as JP2. Since software support for JPX is still minimal, such files may not be rendered properly, and future migrations may result in loss of information (colour space information is particularly affected by this).

Assessment

Files that contain features that are not permitted in JP2 will not pass validation by Jpylyzer.

Tool Affected if expression returns True
Jpylyzer "/jpylyzer/isValidJP2 = 'False'"

Check value of brand field

Tool Location in output
Jpylyzer "/jpylyzer/properties/fileTypeBox/br"

Recommendations

Pre-ingest

Identify files that are affected by this problem using Jpylyzer and do not accept them.

Existing collections

References

Van der Knijff, J.M. JPEG 2000 for Long-term Preservation: JP2 as a Preservation Format. D-Lib Magazine Volume 17, Number 5/6. May 2011