Open yotamlaufer opened 8 years ago
Hi! You have problems with rendering or with something else? Could you describe your problem and, if possible, provide sample PDF file?
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'});
Does the version of jpeg/jfif used support CMYK? IIRC TIFF is an option.
Is it possible to add CMYK support? Poppler seems to support it.