From 5de65922373dfa10fd63b3f59378e89c64f9307b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 14 Jul 2023 11:16:27 +0900 Subject: Fix image conversion naming of files with multiple dots in the name. This resolves issue TDE/tdebase#376 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michele Calgaro Signed-off-by: Slávek Banko --- konq-plugins/imagerotation/imageconverter.desktop | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/konq-plugins/imagerotation/imageconverter.desktop b/konq-plugins/imagerotation/imageconverter.desktop index 07270cc..aee3c6f 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/\.[^.]+$//'`.jpg" +Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.jpg" [Desktop Action convToPNG] Name=PNG Icon=image-x-generic -Exec=convert %f "`echo %f | perl -pe 's/\.[^.]+$//'`.png" +Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.png" [Desktop Action convToTIF] Name=TIF Icon=image-x-generic -Exec=convert %f "`echo %f | perl -pe 's/\.[^.]+$//'`.tif" +Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.tif" [Desktop Action convToGIF] Name=GIF Icon=image-x-generic -Exec=convert %f "`echo %f | perl -pe 's/\.[^.]+$//'`.gif" +Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.gif" -- cgit v1.2.1