Quantcast
Channel: Adobe Community : Unanswered Discussions - Illustrator
Viewing all articles
Browse latest Browse all 41949

Color conversion to 16-bit Lab

$
0
0

Hi,

 

I have rasterized a document using the AIRasterizeSuite and got the colorspace (ai::ColorSpace) and pixel data (AIImageComponent *) from the raster object.

FYI, the color space at this point is kAIColorSpaceFamilyNChannel (process + spot).

Now I can convert the pixel data to an other color space using sAIColorCorrection->ConvertImageColorEx with a destination color space set to kAIColorSpaceFamilyLab.

However, the output seems to be always 8-bit even when I set the dstBitsPerPixel to 48 (3*16) to try to get 16-bit Lab output (and of course allocate enough memory for the output buffer).

 

Since 8-bit Lab is useless to me due to precision, does anyone know how to output 16-bit Lab ?

 

I also tried to output the data to kAIColorSpaceFamilyRGB, then convert it to Lab but the out of gamut colors will be off.

 

Thanks.


Viewing all articles
Browse latest Browse all 41949

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>