Elektrine lite

← Feed

@BertrandCaron@digipres.club

Post #586750

2026-03-05 15:05 UTC

Hey #digipres people with knowledge on image data - is there a reason why #JHOVE reports RGB JPEG images as having a YCbCr color space, but CMYK JPEGs as being CMYK (and not YCCK)? Is it a consistency issue, or am I missing something?

Replies (1)

  • @bitsgalore@digipres.club 2026-03-05 15:41

    @BertrandCaron Had a quick peek at the code and found this: https://github.com/openpreserve/jhove/blob/7595dd5b6660bfe6d2ca9ef3da50ee9df5bebfc4/jhove-modules/jpeg-hul/src/main/java/edu/harvard/hul/ois/jhove/module/JpegModule.java#L1543 So apparently for a 4-component colourspace, JHOVE will either report a value of "CMYK" or "YCCK", depending on the value of "_transformFlag". Also see (this explains the transform flag): https://stackoverflow.com/a/50861048/1209004

    Open ##1478343