diff options
author | OBATA Akio <obache@wizdas.com> | 2023-07-21 09:50:02 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-23 11:11:51 +0900 |
commit | 6f4c5f476447236cd58c0ac4e4dc43cd4eb39a43 (patch) | |
tree | 695816225a28341a66effea2c94540ddf9ba5d95 | |
parent | 98d99130f243fb128eb4db0386d01ff8622940a5 (diff) | |
download | tdeaddons-6f4c5f476447236cd58c0ac4e4dc43cd4eb39a43.tar.gz tdeaddons-6f4c5f476447236cd58c0ac4e4dc43cd4eb39a43.zip |
konqueror plugin: improve code for image conversion. This resolves issue TDE/tdebase#376.
Signed-off-by: OBATA Akio <obache@wizdas.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 955d2f7c06bd74ea9b8e93f8afb9b44f3ab509fc)
-rw-r--r-- | konq-plugins/imagerotation/imageconverter.desktop | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/konq-plugins/imagerotation/imageconverter.desktop b/konq-plugins/imagerotation/imageconverter.desktop index aee3c6f..62b0ca7 100644 --- a/konq-plugins/imagerotation/imageconverter.desktop +++ b/konq-plugins/imagerotation/imageconverter.desktop @@ -12,19 +12,19 @@ TryExec=convert [Desktop Action convToJPEG] Name=JPEG Icon=image-x-generic -Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.jpg" +Exec=convert %f -set filename:base "%d/%t" '%[filename:base].jpg' [Desktop Action convToPNG] Name=PNG Icon=image-x-generic -Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.png" +Exec=convert %f -set filename:base "%d/%t" '%[filename:base].png' [Desktop Action convToTIF] Name=TIF Icon=image-x-generic -Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.tif" +Exec=convert %f -set filename:base "%d/%t" '%[filename:base].tif' [Desktop Action convToGIF] Name=GIF Icon=image-x-generic -Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.gif" +Exec=convert %f -set filename:base "%d/%t" '%[filename:base].gif' |