Bug 691957

Summary: conversion from ai to png: transparency is partially lost
Product: Ghostscript Reporter: Benoit Decherf <bdecherf>
Component: ImagesAssignee: Alex Cherepanov <alex>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P4    
Version: 0.00   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: original file
png generated by gs
png generated by photoshop

Description Benoit Decherf 2011-02-11 11:20:00 UTC
Created attachment 7234 [details]
original file

I need to convert adobe illustrator files to png and I lost the transparency of part of the image 
The gs command executed is: 
gs -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 
-dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 
-dGraphicsAlphaBits=4 "-r72x72"  "-sOutputFile=test.png" -ftest.ai 

I attach the test file here: test.ai 

And the result: test.png 

The result I should have (made using photoshop): test-ps.png

As you can see, the whole image should be transparent. 

The version 8.71, 9.00 and 9.01 give me the same results.
Comment 1 Benoit Decherf 2011-02-11 11:21:07 UTC
Created attachment 7235 [details]
png generated by gs

There is a blank rectangle in the background. That's not correct
Comment 2 Benoit Decherf 2011-02-11 11:21:42 UTC
Created attachment 7236 [details]
png generated by photoshop
Comment 3 Alex Cherepanov 2011-02-19 23:12:30 UTC
This is a known problem. See bug 690508 for details.

*** This bug has been marked as a duplicate of bug 690508 ***