GNOME Bugzilla – Bug 138776
Save by Extenstion (JPEG)
Last modified: 2004-12-22 21:47:04 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!
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.
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.
Ugh, Dave, can you please revert that change?! ".jpe" is not a known and widely used extension for JPEG files; it's just sick.
Reopening the report and setting milestone to 2.0.1 so that we figure this out before 2.0.1 gets released.
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.
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.
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
I should not just hit "submit" when i find an unfinished comment in some browser window :) Seems that .jpe issue was discussed deeply enough...
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.