[gs-bugs] [Bug 689290] An image with a soft mask gets invisible.
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Mon Aug 18 21:24:29 PDT 2008
http://bugs.ghostscript.com/show_bug.cgi?id=689290
------- Additional Comments From michael.vrhel at artifex.com 2008-08-18 21:24 -------
The missing image is given as object 19 below with the 1-bit smask image. As I
said above, the transparency code seems to be working correctly. During the
push of the smask, image_render_simple uses copy portrait to copy the smask data
in object 20 to the PDF14 device. Then, the pop mask occurs and a push of a
transparency group occurs. The rendering of the image data of the 100Wide by
67High image data in object 19 should then occur. This image is handled as a
image type 3x. It seems to contain a mask of its own which is also a 1x1 like
the image in object 20. This is sent to a memory device using
image_render_simple. For some reason, it never seems to do anything with the
real image data, but flushes and moves on. At one point, the renderer is set up
as image_render_color, but it never uses it. It seems that one it finishes up
with the tiny mask associated with the image type 3x it cleans up and moves on.
19 0 obj
<<
/Subtype /Image
/Width 100
/Height 67
/ColorSpace /DeviceRGB
/BitsPerComponent 8
/SMask 20 0 R
/Length 17359
/Filter /FlateDecode
>>
stream
IMAGE DATA
endstream
endobj
20 0 obj
<<
/Subtype /Image
/Width 1
/Height 1
/ColorSpace /DeviceGray
/BitsPerComponent 1
/Decode [ 0.7 0 ]
/Length 1
>>
stream
.endstream
endobj
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the gs-bugs
mailing list