Bug 691957 - conversion from ai to png: transparency is partially lost
Summary: conversion from ai to png: transparency is partially lost
Status: RESOLVED DUPLICATE of bug 690508
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Images (show other bugs)
Version: 0.00
Hardware: PC Linux
: P4 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-11 11:20 UTC by Benoit Decherf
Modified: 2011-02-19 23:12 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
original file (948.97 KB, application/illustrator)
2011-02-11 11:20 UTC, Benoit Decherf
Details
png generated by gs (20.71 KB, image/png)
2011-02-11 11:21 UTC, Benoit Decherf
Details
png generated by photoshop (97.55 KB, image/png)
2011-02-11 11:21 UTC, Benoit Decherf
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***