Documentation of Kde Image Menu 6 — KIM6

KIM6 (Kde Image Menu 6)

KIM6 is a service menu for KDE used for example by Dolphin and other users of KIO. KIM6 allows you to perform actions on your images (and videos) from your desktop or file manager without having to use other applications. This service menu can be considered as a frontend of ImageMagick (and FFmpeg).

Menus

Usage

KIM6 is used via the file manager context menu. Select one or more image or video files, right-click, and choose the desired action from the KIM6 submenu.

Most actions will prompt for confirmation before overwriting existing files. Pressing Enter will usually select the default option, which is to create new files rather than overwrite existing ones.

Some behavior can be customized using environment variables. These variables can be set in the environment where your file manager is launched.

You can also run the scripts (usually stored in ~/.local/share/kio/servicemenus/kim6/bin/) directly: ./kim_resize ~/example.jpg 300x300

Configuration — Web export quality

When using the Webexport actions in the Compress and resize menu, KIM6 allows control over the JPEG compression quality via a configuration file.

Unless you have set $XDG_CONFIG_HOME, in which case you know where your configurations live, run kwriteconfig6 --file ~/.config/kim_kdeimagemenu --group "" --key WEB_EXPORT_QUALITY 80 to set it to 80. Possible values are between 1 and 100. Note that in the UI, it will always say 75 %, which is the default value.

Note that for other formats but JPEG, this is unreliable, especially for PNG. Under the hood, this passes your value to the -quality parameter to ImageMagick, which interprets it differently for different formats.

Installation

See here.