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>
pull/20/head
OBATA Akio 10 months ago committed by Michele Calgaro
parent 826b1b771c
commit 955d2f7c06
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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'

Loading…
Cancel
Save