Tuesday, March 23, 2010

Export L*a*b*

Hi



Just unpacked SDK %26amp; need quickly to modify sample OutBound to ALWAYS export Lab data - whatever the ImageMode of the original image. So even if it was RGB-%26gt;sRGB or RGB-%26gt;WideGamutRGB (or even an Lab Tiff !).



I can see functions in the ColorPicker but are these what I need ?

And if so, are they accessible from an Export plugIn ?



Thanks - I've lots to learn !
Export L*a*b*
Part way there

Found :



if (WarnColorServicesAvailable()) {

ColorServicesInfo csinfo;

csinfo.infoSize=sizeof(ColorServicesInfo);



etc...



plus



err=ColorServices(%26amp;csinfo);



which does the conversion.



Now I just need to write a tiff file instead of the raw EXP file which the sample OUTBOUND does.



More digging (unless anyone can give me a hint)

No comments:

Post a Comment