Bug 689439 - Alpha type SMask incorrectly displayed
Summary: Alpha type SMask incorrectly displayed
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: 8.60
Hardware: PC Linux
: P4 normal
Assignee: Michael Vrhel
URL:
Keywords: bountiable
Depends on:
Blocks:
 
Reported: 2007-09-09 06:13 UTC by Adrian Johnson
Modified: 2010-12-02 18:30 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
mask-alpha-pdf-argb32-out.pdf (4.76 KB, application/pdf)
2007-09-09 06:13 UTC, Adrian Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Johnson 2007-09-09 06:13:19 UTC
The attached file was displayed with gs -sDEVICE=x11
mask-alpha-pdf-argb32-out.pdf. The file does not display correctly in
Ghostscript 8.60. 

The file draws a triangle and rectangle in a transparency group with an Alpha
type SMask consisting of a circle with the RGBA (0.4, 0.4, 0.4, 0.8) and the
background with RGBA (0.8, 0.8, 0.8, 0.4).

Adobe Reader 8.1.0 on Windows XP displays the file correctly with area inside
the circle drawn with alpha=0.8 mask and the area outside the circle drawn with
alpha = 0.4 mask.

Using Ghostscript 8.60 the area inside the circle is drawn with what appears to
be the alpha=0.4 mask and the area outside the circle drawn with alpha=0.8. It
looks like Ghostscript is creating the mask from the colors instead of the alpha.

Adobe Reader 7 for Linux also displays the file incorrectly.
Comment 1 Adrian Johnson 2007-09-09 06:13:59 UTC
Created attachment 3354 [details]
mask-alpha-pdf-argb32-out.pdf
Comment 2 Ray Johnston 2007-09-18 09:44:14 UTC
Problem in transparency somewhat related to 689438
Comment 3 Ray Johnston 2007-12-17 12:08:39 UTC
Reassigning to new owner
Comment 4 Michael Vrhel 2010-12-02 18:30:00 UTC
This was fixed when we fixed alpha blending for the pdf 1.7 fts test files.