Project

General

Profile

Patch #676

Patch for reading ICC color profiles

Added by Andreas Huggel almost 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
metadata
Target version:
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.

Some notes:
  • 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

patchforreadingicccolorprofiles.zip (34.7 KB) patchforreadingicccolorprofiles.zip Patch for reading ICC color profiles Andreas Huggel, 26 Jan 2010 19:07

Related issues

Related to Exiv2 - Feature #585: Unified metadata containerAssigned

Actions
Related to Exiv2 - Feature #756: Access to ICC Profile (TAG: 0x8773) data in Exif as uninterpretted binaryClosed04 Feb 2011

Actions
Related to Exiv2 - Feature #1074: ICC Profile in APP2 segment.Closed07 May 2015

Actions

History

#1

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.

#2

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).

#3

Updated by Robin Mills about 6 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF