Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
I run a website for a printer. I'm trying to create an automated Proofing system for them, but it's difficult because I just can't get IM to maintain gradients and color spaces. Here's an example of what I'm facing. The client uploaded a .pdf, and I had to convert it to .jpg for the Proof system. Unfortunately, it shifted the colors, and even worse, completely flattened the gradient:
It would help if you provided the actual files, not screenshots.
But I will hazard a guess that the gradient comes from transparency. JPGs can't contain transparency, so the alpha channel is ignored. If you flatten the image against white, the gradation may be okay.
This is a dropbox link to the actual file. I opened it on Photoshop, and there is indeed a massive transparency. However, I've attempted to flatten it against a white background, and I'm still getting the same "flat blue" results. I'm obviously doing something wrong, but I can't figure out what it is.
EDIT: A developer friend of mine is telling me that there's a bug in the latest IM build that causes this problem. Does anyone know if this is true or not?
EDIT: A developer friend of mine is telling me that there's a bug in the latest IM build that causes this problem. Does anyone know if this is true or not?
What bug, has it been reported? Usually if there is a bug like that the developers get right onto it but only if they know about it.
What version are you running?
I tried converting the file to a png and jpg and the transparency was white but it was not like your original gradient; but better than your result.
It had a darker blue line across the top and the gradient ended sooner.
Version 6.8.8
With IM v6.8.9-5 with Ghostscript v9.15, it converts fine for me. Mavent: if your versions are old, an update is needed, especially Ghostscript. (GS 9.10 gives results as Bonzo describes.)