Reduce the file size of DCDM images by 50% compared to TIFF, while preserving:
pDCDM is specified in SMPTE ST 428-24.
Output file | --- |
---|---|
DCDM Hash | --- |
Shrunk by | --- |
Output file | --- |
---|---|
DCDM Hash | --- |
Expanded by | --- |
Each pDCDM file contains a single mathematically-lossless
JPEG 2000 codestream that conforms to the profiles specified in SMPTE ST 2067-40 and
optionally includes a COM marker with the string SMPTE DCDM
X'Y'Z' image as defined in SMPTE ST 428-1
.
Mathematically-lossless means that every 12-bit pixel value present in the TIFF file is preserved by pDCDM and the source TIFF image can be recreated exactly.
The pDCDM files created by this tool use:
kdu_compress -i $SRC_FILE -o $KDU_J2C Creversible=yes \ Corder=RPCL Cblk="{32,128}" Cmodes=HT ORGtparts=R Clevels=5 \ ORGgen_tlm=6 -fprec 12M \ Cprecincts="{256,256},{256,256},{256,256},{256,256},{256,256},{128,128}" \ -com "SMPTE DCDM X'Y'Z' image as defined in SMPTE ST 428-1"
ojph_compress -i $SRC_FILE -o $OJPH_J2C -reversible true -prog_order RPCL \ -block_size "{128,32}" -num_decomps 5 -colour_trans -tlm_marker true \ -precincts "{128,128},{256,256}" -tileparts R -bit_depth 12 \ -com "SMPTE DCDM X'Y'Z' image as defined in SMPTE ST 428-1"
Feedback and questions are welcome at pal@sandflow.com.
This demo uses the OpenJPH open-source library to encode and decode JPEG 2000 codestreams.