Bug 691451

Summary: Regression in pngalpha output between 8.71 and head (r11502)
Product: Ghostscript Reporter: pipitas
Component: Graphics LibraryAssignee: Default assignee <ghostpdl-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P4    
Version: master   
Hardware: PC   
OS: Windows XP   
Customer: Word Size: ---
Attachments: This PDF can be used to reproduce a regression with output device pngalpha..
PNG created by GS-8.71
PNG created by GS from current SVN head (r11502)

Description pipitas 2010-07-11 23:41:39 UTC
(Not sure if I selected the right bugzilla "product component" for this.)

I'm seeing different results when using "-sDEVICE=pngalpha" output with PDF input. Example files will be attached to this report.
Comment 1 pipitas 2010-07-11 23:52:23 UTC
Created attachment 6453 [details]
This PDF can be used to reproduce a regression with output device pngalpha..

Using these commands to produce 2 different PNG files:

1. with GS release 8.71:
------------------------
   gswin32.exe ^
       -dNOPAUSE -dBATCH ^
       -sDEVICE=pngalpha ^
       -r72 ^
       -sOutputFile=release8.71-pngalpha-nobug.png ^
       -f svn-r11502-pngalpha-bug.pdf

2. with GS head (SVN r11502):
-----------------------------
   C:\downloads\svn.ghostscript.com.ghostpdl\gs\debugbin\gswin32.exe ^
       -dNOPAUSE -dBATCH ^
       -sDEVICE=pngalpha ^
       -r72 ^
       -sOutputFile=release8.71-pngalpha-nobug.png ^
       -f svn-r11502-pngalpha-bug.pdf
Comment 2 pipitas 2010-07-11 23:53:18 UTC
Created attachment 6454 [details]
PNG created by GS-8.71
Comment 3 pipitas 2010-07-11 23:54:03 UTC
Created attachment 6455 [details]
PNG created by GS from current SVN head (r11502)
Comment 4 pipitas 2010-07-12 00:02:52 UTC
Original PDF was created by "Adobe InDesign CS2 (4.0)". I extracted the 1st page from it with Ghostscript (hence the changed metadata) to have a smaller testcase.
Comment 5 Marcos H. Woehrmann 2010-07-29 17:45:07 UTC
Thanks for reporting this, it was fixed a few days ago as part of bug 691328.
Comment 6 Marcos H. Woehrmann 2010-07-29 17:45:22 UTC

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