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

CMYK Support #14

Open
yotamlaufer opened this issue Jul 15, 2016 · 3 comments
Open

CMYK Support #14

yotamlaufer opened this issue Jul 15, 2016 · 3 comments

Comments

@yotamlaufer
Copy link

Is it possible to add CMYK support? Poppler seems to support it.

@blackbeam
Copy link
Owner

Hi!
You have problems with rendering or with something else? Could you describe your problem and, if possible, provide sample PDF file?

@yotamlaufer
Copy link
Author

yotamlaufer commented Jul 15, 2016

Hi @blackbeam, I don't have a problem at all, on the contrary, it works incredibly well.

The only problem I'm facing is that I need to create CMYK images from a PDF file and that is not supported since RGB is hard coded.

When I compile Poppler with SPLASH_CMYK, and node-gyp rebuild then the library stops working at all.

It will be really great if I could do something like this:

pdf.renderToFile('filename.jpg', 'jpeg', 300, {quality: 100, colorspace: 'cmyk'});

@TyrfingMjolnir
Copy link

TyrfingMjolnir commented Nov 28, 2017

Does the version of jpeg/jfif used support CMYK? IIRC TIFF is an option.

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

3 participants