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.
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.
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.