-
Hello, Lately we are facing some issues with images produced out of some, not all, cmyk PDFs. The jpeg output show some color shifts, and some artifacts i checked the PDFs with acrobat pro preflight, and all PDF resources are in CMYK i downgraded the GS libs to an older 9.50 (2019), and miracle, no issue converting the very same PDFs, not sure where to lookup more Luc |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 1 reply
-
Got it.. breaking changes in GS 10.01+ "This release officially deprecates the old Postscript implementation of PDF, we will not be updating or maintaining that code moving forward. The option to use the old PDF implementation will be removed in the next full release (10.01.0)" so i guess magick.net needs an update. i downgraded GS to 10.0.0 with latest magick.NET => all good |
Beta Was this translation helpful? Give feedback.
-
Can you share a PDF file? This library has support for new version of Ghostscript and should work with that version. All the unit tests are also running with that. It would be nice if you could create a PDF with just a single square with a specific color that can be used to reproduce this. |
Beta Was this translation helpful? Give feedback.
-
Sure, here is one it was created by the studio, using indesign |
Beta Was this translation helpful? Give feedback.
-
How did you create the image on the right side? Which Ghostscript options did you use to create the image? I suspect that this is a bug inside Ghostscript but it might be possible that we are using the wrong command line options when converting the image. |
Beta Was this translation helpful? Give feedback.
-
"C:\Program Files\gs\gs10.01.2\bin\gswin64.exe" -sDEVICE=jpegcmyk -o out.jpg 6430174f932c3363f415b3a0.pdf |
Beta Was this translation helpful? Give feedback.
-
definitely a compat issue. i can't share my app code here, but i can demo you on call should you need. |
Beta Was this translation helpful? Give feedback.
-
We are using the |
Beta Was this translation helpful? Give feedback.
-
I guess i should be able to reproduce locally with the command line ? this command does not output a valid file what should i use to reproduce using your pamcmyk32 ? |
Beta Was this translation helpful? Give feedback.
-
https://filext.com/file-extension/PAM but it cannot convert the generated file |
Beta Was this translation helpful? Give feedback.
Got it.. breaking changes in GS 10.01+
https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
"This release officially deprecates the old Postscript implementation of PDF, we will not be updating or maintaining that code moving forward. The option to use the old PDF implementation will be removed in the next full release (10.01.0)"
so i guess magick.net needs an update.
i downgraded GS to 10.0.0 with latest magick.NET => all good