Re: Cairo color profile management

Adrian Johnson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On 22/02/16 17:17, Santosh.katakam wrote:
> 
>> Team,
>>
>> I am using cairo to create a PDF using multiple JPEGs and PNGs, I am trying to understand how to retain/untouch the colour profile of the original images. 
>>
>> From my previous posts, I get to understand that Cairo doesn't support colour profile management. However, I would like to understand whether it drops the colour profile of all the images that are used for PDF generation.
>>
>> Regards,
>> Santosh
> 

Cairo does not read or use any color profile in PNG files. If you embed
a JPEG in PDF output using cairo_surface_set_mime_data(), the JPEG file
is embedded in the PDF. I don't see any mention of color profiles in
JPEG in PDF32000 so I assume you will not get any color profiles in the PDF.

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.