Summary: | Watermark problem While converting pdf to jpg files. | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Murat <muratto12> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alex |
Priority: | P4 | ||
Version: | 8.71 | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Customer: | Word Size: | --- | |
Attachments: | patch |
Description
Murat
2010-04-30 07:35:43 UTC
This file claims to be %PDF-1.1 but uses transparency. Ghostscript doesn't check for transparency if it is not supported by the declared version of the file. Changing the file version to %PDF-1.5 fixes the problem. Since old version of PDF are not common now, the check for transparency is cheap, and mis-labeled files occur occasionally, the version check will be removed. D'oh! Thanks Alex, that explains why extracting a single page with Acrobat and resaving solved the problem.... (In reply to comment #1) > This file claims to be %PDF-1.1 but uses transparency. > Ghostscript doesn't check for transparency if it is not supported by > the declared version of the file. Changing the file version to > %PDF-1.5 fixes the problem. > > Since old version of PDF are not common now, the check for transparency > is cheap, and mis-labeled files occur occasionally, the version check > will be removed. Thanks you(In reply to comment #2) > D'oh! Thanks Alex, that explains why extracting a single page with Acrobat and > resaving solved the problem.... Thank you guys Created attachment 6244 [details]
patch
Check all PDF files for transparency features because some files have
incorrect version number but Acrobat renders them just fine.
The patch has been committed as a rev. 11162.
|