GNOME Bugzilla – Bug 137274
Gimp notice appears twice in Open dialog
Last modified: 2004-03-15 21:23:32 UTC
On opening some (jpg) images, I get the following message twice: Gimp message: Image resolution is out of bounds, using the default resolution instead. This only happens with some sets of jpgs from the same source, not others. I don't know what this means, as a jpg doesn't have resolution built-in as far as I know. Photoshop always assume them to be 72dpi, but that's arbitrary. Could be 96dpi. But if nothing is actually changed in the image, why bother the user with a pop-up. Anyway, I get this message once when creating a thumbnail in the Open dialog, and once when opening the image, when I'm not sure it should appear at all. If it was a PNG or TIFF, and Gimp has a problem with some resolutions, then the warning is warranted once. Example, opening jpg images that's only 512x769px. Windows XP Professional Gimp 2.0pre4 GTK+ 2.2.4
There is indeed resolution information in JPEG files and unfortunately quite some applications are setting it incorrectly. I don't think we should silently ignore that error. If you call the plug-in twice, of course you get the error message twice. It's a separate process; it cannot know that has been called before. If you dislike this, I suggest you use the error dialog to avoid the popup.
*** This bug has been marked as a duplicate of 133093 ***
There you go, never knew jpegs had resolution information, as they're intended for the WWW where this is pretty meaningless. If indeed the Gimp is overriding this faulty resolution (Photoshop seems to ignore any problems these files have), naturally I should be told when opening it. One solution to the doubling-up, though, is to allow the Preview pane to suppress the error, as it is irrelevant for the purpose of generating a thumbnail, unless a fatal error that prevents the thumbnail from being generated. This presumably relates to bug 133093. If currently there is no way for a process to suppress error messages, then there should be.
Progress information as well as errors from plug-ins is an eare that needs to be improved. However you aren't telling us anything new here.