After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 137274 - Gimp notice appears twice in Open dialog
Gimp notice appears twice in Open dialog
Status: RESOLVED DUPLICATE of bug 133093
Product: GIMP
Classification: Other
Component: Plugins
1.x
Other All
: Normal trivial
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2004-03-15 18:28 UTC by Martin Andersen
Modified: 2004-03-15 21:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Martin Andersen 2004-03-15 18:28:54 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
Comment 1 Sven Neumann 2004-03-15 18:42:12 UTC
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.
Comment 2 Sven Neumann 2004-03-15 18:43:06 UTC

*** This bug has been marked as a duplicate of 133093 ***
Comment 3 Martin Andersen 2004-03-15 19:18:19 UTC
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.
Comment 4 Sven Neumann 2004-03-15 21:23:32 UTC
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.