Page 2 of 2

Re: PDF image colorspace

Posted: 2010-03-17T20:43:07-07:00
by fmw42
your pdf has a white background, but your png seems to have a transparent background, but the greens are the same!

I confirmed the same using IM as:

convert 31.png show:

and

convert 31.pdf show:

in addition to displaying in Mac Preview.

Re: PDF image colorspace [RESOLVED] (Fred is a legend)

Posted: 2010-03-17T20:46:41-07:00
by larowlan
New monitor, same problem, tried a different version of Acrobat Reader and a different video card - no change
But changing the pdf to a white background fixed it!
So maybe it just doesn't like a transparent background in a pdf?

You are a legend Fred, if you ever need any Drupal or EXT Js Support/Development, drop me a line

Re: PDF image colorspace

Posted: 2010-03-17T20:53:01-07:00
by fmw42
No problem. Glad I could help, what little I did.

I have never gotten transparency working in pdfs in IM. I think it may be the ghostscript device that is being used. Perhaps it needs to be changed to something else in the delegates.xml file. Anthony's docs about pdfs need to be updated to give such information, if it is possible to have transparency in pdf. http://www.imagemagick.org/Usage/formats/#pdf

Perhaps Magick can shed some light on transparency in pdfs at some point.

Re: PDF image colorspace

Posted: 2010-03-17T21:03:35-07:00
by larowlan
To tell you the truth, I didn't need the transparency but must have set it early on during development.
To be honest it is kind of counter-intuitive - I can't think of a use case where you would need a colour other than white as transparent on a document prepared for a printed medium (ie white areas on page are always transparent when sent to print)