[MacPorts] #16371: libpng-1.2.30 and/or gimp2-2.4.5 - Gimp fails to open certain PNG files

MacPorts noreply at macports.org
Fri Aug 22 03:57:39 PDT 2008


#16371: libpng-1.2.30 and/or gimp2-2.4.5 - Gimp fails to open certain PNG files
---------------------------------------+------------------------------------
 Reporter:  darren.brierton at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                     |      Status:  new                                  
 Priority:  Normal                     |   Milestone:  Port Bugs                            
Component:  ports                      |     Version:  1.6.0                                
 Keywords:  gimp, png                  |  
---------------------------------------+------------------------------------
 Gimp will not open certain PNG files (example attached) although they
 appear to be valid. The files were created in Photoshop, and can be opened
 by Preview and Safari. The files can also be opened and edited in Gimp
 2.4.6 (gimp-2.4.6-1.fc8) running on Fedora Core 8.

 Precise error message from Gimp:

 {{{
 PNG image Message

 Error while reading '/Users/darren/Desktop/background_img.png'. File
 corrupted?

 GIMP Message

 Opening '/Users/darren/Desktop/background_img.png' failed:

 PNG image plug-In could not open image
 }}}

 If I start Gimp from a terminal and then open the file this error message
 is printed to the terminal:

 {{{
 libpng error: x[DA][94][FD]: invalid chunk type
 }}}

 Running:

 {{{
 Mac OS X 10.5.4
 MacPorts 1.6.0
 gimp-app                       @2.4.0          aqua/gimp-app
 gimp-user-manual               @0.13           graphics/gimp-user-manual
 gimp2                          @2.4.5          graphics/gimp2
 libpng                         @1.2.30         graphics/libpng
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/16371>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list