For embedded icc profiles it would be a binary blob, is this even supported?

.malcolm

On 19/07/2013, at 12:33 AM, Larry Gritz wrote:

> I have to admit that my knowledge is sketchy as to precisely what data makes 
> up an ICC profile.
> 
> So anyway, the way that the ImageSpec is organized is that only the most 
> basic, universal, core information about an image get their own fields in the 
> ImageSpec (pixel data resolution, data format, number of channels, etc.).  
> But there is a field called 'extra_attribs' that is a parameter list of 
> fairly arbitrary name/value pairs, and that's where we store the vast bulk of 
> the metadata.  So you can already stash ICC profiles here, you don't need any 
> special fields. We should choose a standardized name, however, so that we can 
> document it and all OIIO-using apps will save or search for it under the same 
> name.
> 
> If somebody can sketch out the data layout of the ICC profile data (what 
> specifically it consists of), I'm happy to reply with the set of commands 
> you'd need to store / retrieve it in the ImageSpec.
> 
>       -- lg
> 
> 
> On Jul 18, 2013, at 3:46 PM, Yang Yang wrote:
> 
>> Hi All,
>> 
>> I am working on open TIFF and JPEG with different color profiles.
>> I find out that there is no field in ImageSpec to hold color profiles from 
>> JPEG, TIFF and PNG etc.
>> The input and output plugins don't handle the ICC_PROFILE sections. 
>> Does OpenImageIO have plan to add ICC_PROFILE section in ImageSpec?
>> Even use OCIO, if there is no way to extract color profile info from file to 
>> ImageSpec, 
>> then how can batch processing images with different color profile?
>> 
>> Currently I have some code to handle this by adding a color profile section 
>> in ImageSpec and
>> modify plugins to read embedded profile into ImageSpec and write it back to 
>> file. 
>> I just wonder to know if there is a plan for it or not. 
>> I used to ask this question one week ago.
>> 
>> Thanks in advance for your help.
>> 
>> Yang
>> 
> 
> --
> Larry Gritz
> [email protected]
> 
> 
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to