Thanks. I will look into it, do you have an example PDF that I can use for testing?
Thank you! Absolutely, I will contact you via email to send you a link — I can’t make the .pdf link public. We can follow up in this thread.
Thank you for the files. I was not able to see a significant change, but I did notice that one of the generated images was somewhat brighter than the original.
I do not have much knowledge about color profiles and such, but I found a post that may be relevant: images and browser. The author suggests that the color space should be converted to from CMYK to RGB using an ICC profile from Adobe. I tested with RBG color profiles from Adobe, but the colors did not improve. This may be a long shot, but do you have an ICC profile that works well for the PDFs?
Thanks Stian —
Acrobat Pro tells me the profile of the files is ‘DeviceCMYK’ — which is maybe the problem based on the quote from Stackoverflow above.
I don’t have a lot of experience in this either to be honest… but definitely saw much larger changes than you did. I will look into this more on my end and follow-up with you. We have a dev server which is setup quite differently than the production server.
I will test these same files there, and see if perhaps it’s an issue with the version or build of ImageMagick on the production server.
Stian is right – we have tested these same files on our development server and are getting results equal to Stian’s — in other words, very good.
So it must be an issue with the ImageMagick/Ghostscript installation on the production server then. We will test this soon and will report back here in case anyone else has this issue.
The plugin is working as it should.
Thank you for looking into it. I’m marking this as resolved for now, but it would be great if you follow up with your results.
This is the system I used for testing:
Operating system
lsb_release -a
: Debian 7.8 (wheezy)
ImageMagick
phpinfo()
: ImageMagick 6.7.7-10 2014-03-08 Q16
Ghostscript
gs --version
: 9.05
PHP
php -v
: 5.4.39