Convert images to JPEG format in Nautilus

Using the attached Nautilus action, you can easily add a custom action in the context menu of Nautilus and convert the selected files to JPEG. It works with filenames containing whitespace and supports selection of multiple items. Requires ImageMagick to be installed and the convert executable to be available through /usr/bin/convert.

Update (2019.03.22): Nautilus Actions became Gnome's FileManager-Actions. It's primary export format is now a *.desktop file, so I've attached a new version of the "convert to jpeg" action in this format (see: "nautilus_action_convert_to_jpeg.desktop"). It's a bit more advanced than the original (converts only if the source file is not a JPEG already and does never overwrite an already existing file).

AttachmentSize
nautilus_action_convert_to_jpeg.xml1.94 KB
nautilus_action_convert_to_jpeg.desktop902 bytes