Summary: | Artifacts in simple artwork when using a TIFF device | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Adam Augusta <roxton> |
Component: | Vectors | Assignee: | Robin Watts <robin.watts> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | robin.watts, roxton |
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Customer: | Word Size: | --- | |
Attachments: |
A simple PDF with a vector-described flower with a spot color.
TIFFSEP output TIFF32NC output PNGAlpha Output flower3.pdf |
Created attachment 7610 [details]
TIFFSEP output
Created attachment 7611 [details]
TIFF32NC output
Created attachment 7612 [details]
PNGAlpha Output
A simple vector flower (PDF attached) is getting rasterized with unusual artifacts when using TIFFSEP or TIFF32NC. The output looks perfect when PNGALPHA is used. gs -dBATCH -dSAFER -dNOPAUSE -sDEVICE=tiffsep -r72 -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -sOutputFile=simple NoPaper.ai This behavior is being exhibited in trunk. (In reply to comment #4) > A simple vector flower (PDF attached) is getting rasterized with unusual > artifacts when using TIFFSEP or TIFF32NC. The output looks perfect when > PNGALPHA is used. > > gs -dBATCH -dSAFER -dNOPAUSE -sDEVICE=tiffsep -r72 -dGraphicsAlphaBits=4 > -dTextAlphaBits=4 -sOutputFile=simple NoPaper.ai The bug report is against Windows, yet this is a Linux command line. The supplied file is a PDF, but the command line uses an Adobe Illustrator file. Removing the -dGrpahicsAlphaBits causes the problem to go away, but I do see the described problem on Windows when that switch is present. Hard to see wy, since its a simple fill. One for Robin perhaps ? Created attachment 7615 [details]
flower3.pdf
Simplified version of the file; doesn't need to be a spot colour or anything clever. Same problem occurs with ICC profiles, spot colors and clever graphics states all removed.
Fixed in: commit a1ee78a6de94b8b4292b9ce3b71b54ed3ae7502b Author: Robin Watts <Robin.Watts@artifex.com> Date: Tue Jun 28 20:09:11 2011 +0100 Fix for Bug 692303, antialiasing problems. In trying to fix Bug 692081, I'd inadvertantly broken antialiased operation on shapes with multiple 'alpha=0'/'alpha-non-zero' transitions. My understanding of Peters line accumulator macros was incomplete. This new version seems to fix both cases. Following up with Bug 692318. |
Created attachment 7609 [details] A simple PDF with a vector-described flower with a spot color.