Bug 94222 - color profile lost
Summary: color profile lost
Status: RESOLVED INVALID
Alias: None
Product: cairo
Classification: Unclassified
Component: pdf backend (show other bugs)
Version: 1.12.16
Hardware: Other Linux (All)
: medium normal
Assignee: Adrian Johnson
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-19 21:23 UTC by santosh
Modified: 2016-02-22 10:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description santosh 2016-02-19 21:23:50 UTC
hello team,

I am using Cairo to rendering a pdf assembling various other PNGs, JPEG images, drawings etc. What I am seeing is that the cairo is dropping the colour profile of the original asset. Can you please help me understand how I could retain the original colour profiles.

Secondly, I would like to set the DPI to 300. But I am unable to do it, can you please help me achieve this.
Comment 1 Adrian Johnson 2016-02-20 22:04:21 UTC
The best place for asking questions is the mailing list at http://www.cairographics.org/lists/

(In reply to santosh from comment #0)
> hello team,
> 
> I am using Cairo to rendering a pdf assembling various other PNGs, JPEG
> images, drawings etc. What I am seeing is that the cairo is dropping the
> colour profile of the original asset. Can you please help me understand how
> I could retain the original colour profiles.

Cairo does not support colour profiles and there are no plans to do so.

> Secondly, I would like to set the DPI to 300. But I am unable to do it, can
> you please help me achieve this.

cairo_surface_set_fallback_resolution() sets the fallback resolution. The default is already 300PPI.
Comment 2 santosh 2016-02-22 06:30:01 UTC
Thank you so for your response.

One small clarification. When you say Cairo doesn't support colour profile, does it mean that it would drop the colour profile of the images that are going into PDF? Or it wouldn't take any action?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.