summaryrefslogtreecommitdiffstats
path: root/src/servicemenus/imageconverter.desktop
blob: 8da4b6f4b6b28440b67d09fdb1c16d42993fbb23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# Servicemenu image converter, by Jens Benecke <[email protected]>.
# Released under the same license as the KDE core distribution (GPL 2.0).
#
[Desktop Entry]
X-TDE-ServiceTypes=image/*
Actions=convToJPEG;convToPNG;convToGIF;convToTIF;
X-TDE-Submenu=Convert To
TryExec=convert

[Desktop Action convToJPEG]
Name=JPEG
Icon=image-x-generic
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/\.[^.\/]+\n//'`.png"

[Desktop Action convToTIF]
Name=TIF
Icon=image-x-generic
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/\.[^.\/]+\n//'`.gif"