Linux: right-click menu to add a "Convert pictures in jpg format."

Extremely powerful tool will be installed on Linux is usually small, but this imagemagick. This software provides a series of easy to use features. Here to talk about how to use the convert command to convert it into jpg format pictures, and how to add it to the Thunar right-click menu.

convert convert image to jpg format with up super simple:

convert -format jpg original_picture_file.png ./converted_jpg_file.jpg

Even the network can convert images of any format and saves it to:

convert -format jpg https://img3.doubanio.com/view/group_topic/l/public/p189135642.webp ./weishengjian.jpg

OK, next to the associated image files in the Thunar a right-click menu, so you do not knock the command:
(Do not ask me why I use Xfce4 / Thunar, easy to use would be finished)
First ah, you have to click on the menu bar "Edit" -> "configure custom actions", then click the plus sign in the upper right corner to create a new custom action:

Then "Edit Action" window so fill

Then "Appears" tab check the "image files" on it. So that when you right click on a picture file, there will be a pop-up menu "Convert pictures in jpg format," the.

Guess you like

Origin www.cnblogs.com/dylanchu/p/11515627.html