Patch #676
Patch for reading ICC color profiles
Start date:
26 Jan 2010
Due date:
% Done:
100%
Estimated time:
Description
Contributed by Joachim Gelhaus, Cewe Color:
The attached patch adds the ability to read ICC color profile out of the JPEG
APP2 marker as just a bunch of bytes.
- All modified sections are marked with an #ifdef JGE_ICC_PATCHES which
is defined in the exv_conf.h file. - Class ICCColorProfile has been added to types.h (just a simple
wrapper to a byte*. Similar to DataBuf) - JpegBase got two new static const members: app2_ and iccId_[]
- The Image class has two new functions: setIccData(const
ICCColorProfile & newIccData); and ICCColorProfile& iccData() { return
iccData_; } - The most changes are in jpgimage.cpp readMetadata() and
writeMetadata()
Files
Related issues
History
Updated by Andreas Huggel over 11 years ago
Will consider this once we have the unified metadata container (#585) - then we'll be able to interpret additional types of metadata too.
Updated by Robin Mills about 6 years ago
- Status changed from New to Closed
- Assignee set to Robin Mills
- Target version set to 0.26
I'm going to mark this closed. However it's linked to #1074 which I intend to implement for v0.26.
Thanks very much to Joachim for the patch. I'll reviewed this and will use this as inspiration for #1074. I'd like to support the extraction of color profiles from JPEG/TIFF/PNG files (and Tiff-type raw formats such as DNG and NEF).