PDF's Invisible Layers
Posted: 2010-07-07T08:29:56-07:00
This is for ImageMagick 6.6.2. I have a Postscript file that is shown in Ghostscript 8.71 (gswin32) as having a white background, but in imdisplay it has a checkered background. Why? I believe that the way Ghostscript is showing the file is the correct one.
The file was generated with the pdf2ps (Ghostscript 8.71) utility from a PDF file that has several layers. Some layers are visible and some are not. When I use the convert utility to do PDF -> PNG with the flatten option, I get some features that are not in the original file. Why?
When I do PDF -> PS with pdf2ps and then use convert to do PS -> PNG with the flatten option, I get the correct image. I guess imdisplay does not support the flatten option as does convert. Are there any optional directives that can convert the PDF to PNG correctly?
The file was generated with the pdf2ps (Ghostscript 8.71) utility from a PDF file that has several layers. Some layers are visible and some are not. When I use the convert utility to do PDF -> PNG with the flatten option, I get some features that are not in the original file. Why?
When I do PDF -> PS with pdf2ps and then use convert to do PS -> PNG with the flatten option, I get the correct image. I guess imdisplay does not support the flatten option as does convert. Are there any optional directives that can convert the PDF to PNG correctly?