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 138776 - Save by Extenstion (JPEG)
Save by Extenstion (JPEG)
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
unspecified
Other All
: Low minor
: 2.0
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2004-04-01 19:27 UTC by simon
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description simon 2004-04-01 19:27:57 UTC
Win XP SP1
Gimp 2.0.0
1. When saving a jpeg file with extension ".jpe", I get "invalid file 
type".  ".jpe, .jpg, .jpeg" are very common extension and should 
2. "Save as JPEG" dialog a little too wide
3. "Open Image" dialog should have dropdown to filter for images(All images, 
*.jpg, *.gif, *.tiff)

PS: GREAT JOB!
Comment 1 Dave Neary 2004-04-02 09:45:10 UTC
Fixed part 1 in CVS.

2004-04-02  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/jpeg.c: Added .jpe to the list of extensions
        that the jpeg plug-in recognises. Fixes bug #138776.


Part 2 is a little vague, and part 3 is an enhancement request which is dealt
with in the new file dialog in GTK+ 2.4, which will be used for the forthcoming
GIMP 2.2 release.

Closing this bug as fixed. Please create a new bug for issue 2, with perhaps a
bit more detail of what's wide.

Cheers,
Dave.
Comment 2 Sven Neumann 2004-04-02 09:48:37 UTC
Simple rule for the next time: One bug-report per problem.

1. The jpeg plug-in registers the extensions ".jpeg" and ".jpg". I don't think
".jpe" is common so I don't think we should add it.

3. You can already filter by extension by entering for example "*.jpeg" in the
Open Image dialog. As soon as we switch to GtkFileChooser, we will add a menu to
filter for image types.

I vote for closing this report as INVALID.
Comment 3 Sven Neumann 2004-04-02 09:49:49 UTC
Ugh, Dave, can you please revert that change?! ".jpe" is not a known and widely
used extension for JPEG files; it's just sick.
Comment 4 Sven Neumann 2004-04-02 09:51:53 UTC
Reopening the report and setting milestone to 2.0.1 so that we figure this out
before 2.0.1 gets released.
Comment 5 Sven Neumann 2004-04-02 10:03:34 UTC
I've done some further investigation and it seems that the shared mimeinfo
database on freedesktop.org lists ".jpe" as extension for JPEG files. I can
agree with the change then. But before such a change is done, we should always
check this database. At some point we are going to use this MIME database,
perhaps even for GIMP-2.2, so we shouldn't create inconsistencies.
Comment 6 Dave Neary 2004-04-02 11:08:05 UTC
For posterity, I'd seen lots of .jpe files in my time (usually .jpegs that got
their extensions chopped to 8.3 format on windows), and thought it was an
oversight on the part of the author.

Checking the mime database in the future is a reasonable thing to do. Does
changing teh GIMP to use that mean that plug-ins will now register mime types
rather than extensions?

Cheers
Dave.
Comment 7 Michael Natterer 2004-04-02 11:24:10 UTC
IMHO .jpe should be supported. It is in the extension list used by
gnome-vfs and seems like the right thing to do given the number
of broken operating systems which also say .htm instead of .html
Comment 8 Michael Natterer 2004-04-02 11:26:33 UTC
I should not just hit "submit" when i find an unfinished comment in some
browser window :) Seems that .jpe issue was discussed deeply enough...
Comment 9 Sven Neumann 2004-04-02 16:22:19 UTC
The new file plug-in API hasn't been outlined yet but it would certainly make
integration with GtkFileChooser simpler if file plug-ins would register mime-types.