Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIImage-PDF color issue #5

Closed
oliverwolfson opened this issue May 16, 2012 · 3 comments
Closed

UIImage-PDF color issue #5

oliverwolfson opened this issue May 16, 2012 · 3 comments

Comments

@oliverwolfson
Copy link

Thanks so much for making your PDF and SVG code available Nigel.

Any links to information on how to calibrate the color display for PDFs? There is a pretty big discrepancy between how PDFs and PNGs are displayed.

You can see an example here: http://owolf.net/images/apps/pdfvspng.png

The upper left is a PDF displayed via one of your methods. The lower right is a PNG. Note the PDF in much darker, as if it's in a completely different color space.

@mindbrix
Copy link
Owner

Hi Oliver. I'm glad you find the code useful. What tools did you use to
create the PNG? Photoshop provides a number of colour space options for
image exporting. I've seen similar issues matching CSS colours to JPGs on
websites, which were fixed by choosing the correct export colour space.

Sadly iOS provides no colour calibration APIs, so I have no control over
the colours used by the Quartz PDF renderer.

Best,
Nigel.

On 16 May 2012 14:28, oliverwolfson <
reply@reply.github.com

wrote:

Thanks so much for making your PDF and SVG code available Nigel.

Any links to information on how to calibrate the color display for PDFs?
There is a pretty big discrepancy between how PDFs and PNGs are displayed.

You can see an example here: http://owolf.net/images/apps/pdfvspng.png

The upper left is a PDF displayed via one of your methods. The lower right
is a PNG. Note the PDF in much darker, as if it's in a completely different
color space.


Reply to this email directly or view it on GitHub:
#5

vectoria.co.uk

concentrichron.com

Mindbrix -- Dream it, draw it, build it, love it

69 Derby Street
Beeston
Nottingham
NG9 2LG

+44 7905 311 352
nigel@mindbrix.co.uk
www.mindbrix.co.uk
Skype: ntbarber
twitter.com/mindbrix

@oliverwolfson
Copy link
Author

Thanks for the quick reply Nigel. Actually it turned out to be an easy fix. Changed the document color mode to RGB, from CMYK in illustrator and it looks good now.

Best,
Oliver

@mindbrix
Copy link
Owner

You're welcome. ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants