GNOME Bugzilla – Bug 624275
Image saved from google docs generates a 'gimp-image-set-resolution' error message
Last modified: 2010-07-13 20:20:42 UTC
Created attachment 165829 [details] Image from google docs When you try to open a .png file downloaded from google DOCS The ERROR Message """ Calling error for procedure 'gimp-image-set-resolution': Procedure 'gimp-image-set-resolution' has been called with value '-1.#IND00' for argument 'yresolution' (#3, type gdouble). This value is out of range. """ Is produced The image file was downloaded by... 1) right clicking on a pdf file in google docs 2) clicking on save image as.
The image has 0,0 as resolution. We should catch that and not set the resolution at all.
Fixed and pushed to both branches: commit ff221e679c2dd17be9cd55d3d980859d656bfccd Author: Sven Neumann <sven@gimp.org> Date: Tue Jul 13 22:20:15 2010 +0200 Bug 624275 - Image saved from google docs generates a 'gimp-image-set-resolu Only set the image resolution if the resolution in the PNG file is greater than zero.