How to Fix the JFIF Bug in Firefox 3 Beta
The most recent beta releases of Firefox 3 on the Mac have one annoying quirk — dragging a Jpeg image to the desktop from the browser results in the file’s extension being renamed. Instead of saving a jpg, you’ve got a jfif.
Jfif is the umbrella image format under which Jpg exists, but most applications can’t understand or open Jfif files. This issue will be resolved in a couple of weeks when Firefox 3′s code is finalized. Until then, you have to manually rename each and every Jfif, changing the extension to Jpeg in order to use them.
But why use the Finder when you can use Mac OS X’s Automator? This set of instructions was posted to the Mozilla support forums by an unregistered user named Kory. We’ve tried it and it works.
If you have any other suggestions, we’ve added a page about automating JFIF conversion in Mac OS X to the Wired How-To Wiki. Go ahead and log in to add them there. Don’t be shy.
How To Build an Automator Action to Convert Jfif to Jpeg (via Kory)
1. Open Automator and choose Custom.
2. Type "rename" into the search box.
3. Drag "Rename Finder Items" into the grey area to the right. Choose "Don’t Add" to the prompt that appears.
4. Change the first drop down box to "Replace Text".
5. In the Find box type in ".jfif" and in the Replace box type in ".jpg". Make sure the Ignore Case box is checked.
6. Click on the File menu and choose Save as Plug-in… Type in "JFIF to JPEG" and make sure the Finder option is chosen in the drop down box.
Now whenever you need to change a bunch of images to .jpeg, just select them in the Finder, right click, choose "More", choose "Automator", and click on "JFIF to JPEG."