Summary: | GS handles type3 postscript images differently to Acrobat | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Robin Watts <robin.watts> |
Component: | Graphics Library | Assignee: | Robin Watts <robin.watts> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | alex, christinedelight.top85 |
Priority: | P4 | ||
Version: | master | ||
Hardware: | All | ||
OS: | All | ||
Customer: | Word Size: | --- | |
Attachments: |
image3.ps
image3.ps |
Description
Robin Watts
2010-11-25 15:53:18 UTC
Created attachment 6955 [details]
image3.ps
Corrected test file; I had the ImageMask transforms wrong for 2 of the 8 images. Fixing this fixes 1) entirely. This just leaves 2). I'll rename the bug accordingly.
According to PLRM, the image and the mask should be mapped to the same rectangle. The image that violates the spec is asking for "undefined behavior". MS-DOS, for instance, in such cases used to erase NVRAM area. When Ghostscript converts the sample file to PDF, it uses, like Distiller, the ImageMatrix attribute from the image dictionary. PDF files generated from the sample file by Ghostscripr and Distiller look the same on Ghostscript or Acrobat Reader in any combination. When the PS file is rendered directly by a CPSI-based product (PhotoPrint), Ghostscript and Adobe honor the image matrix, also producing similar images. |