Version: 0.10 from svn (using KDE 4.1.3) OS: Linux Installed from: Ubuntu Packages I just did a svn checkout of 0.10. So I have a quite current version When I do a batch raw conversion to JPEG, the file extension is .jpg. If I edit a RAW image and do a "save as" JPEG, I get .jpeg as default extension (I can change it, but default is jpeg). It's the same with TIFF. It would be good if everything uses the same extension.
The JPEG or TIFF image file extension (.jpeg and .tiff) are hardcoded to KDELibs (i suspect desktop files). Gilles Caulier
I confirm ! The problem come from desktop files from KDElibs. Look the order of extension of "X-KDE-ImageFormat" section: http://websvn.kde.org/trunk/KDE/kdelibs/kimgio/jpeg.desktop?view=markup http://websvn.kde.org/trunk/KDE/kdelibs/kimgio/tiff.desktop?view=markup Gilles Caulier
Created attachment 29008 [details] patch to fix order of JPEG and TIFF extension (3 characters based by default)
At the VERY least, this needs to be patched to not touch the incoming filename, as it stands, it tries to change .jpg files to .jpeg files. This is counter-intuitive. If some person is so moist over forcing .jpeg after .jpg has been in widespread use for, oh, 2 decades, dandy, but don't change my damn files!
*** Bug 206303 has been marked as a duplicate of this bug. ***
*** Bug 184443 has been marked as a duplicate of this bug. ***
Comment #4 seems to indicate that the bug is not in the kdelibs desktop files, but rather in the code that uses them? Replacing an extension with another, when both are valid for the given mimetype, sounds wrong indeed.
Nowadays (Qt5/KF5), the default extension for a mimetype comes from shared-mime-info (from freedesktop), not from kimgio (which doesn't really exist anymore). In shared-mime-info the default for JPEG is *.jpeg and the default for TIFF is *.tif OK, I have now fixed it in shared-mime-info (commit 2d7bea2), the default extension for JPEG is now *.jpg.