Mercurial > repos > bgruening > graphicsmagick_image_convert
annotate convert.xml @ 8:99217847314a draft
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
author | bgruening |
---|---|
date | Mon, 04 Dec 2023 16:27:57 +0000 |
parents | ff05b2c4263c |
children | 5376a7767fb3 |
rev | line source |
---|---|
8
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
1 <tool id="graphicsmagick_image_convert" name="Convert image format" version="@VERSION@+galaxy3"> |
7
ff05b2c4263c
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit 57a0433defa3cbc37ab34fbb0ebcfaeb680db8d5
bgruening
parents:
6
diff
changeset
|
2 <description>with GraphicsMagick</description> |
0
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
3 <macros> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
4 <import>macros.xml</import> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
5 </macros> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
7 <command detect_errors="aggressive"> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
8 <![CDATA[ |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
9 ln -s '${input}' input.${input.ext} |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
10 && |
4
4e9a3745dce4
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit 519fe7dd96d4fb063e57b0a40ab58dd4855b98af
bgruening
parents:
3
diff
changeset
|
11 #if str($transformations) != 'None': |
3
c01226f0d828
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit 4a5c3c370df53a00aded3eaae40f3a8e4a263385-dirty
bgruening
parents:
2
diff
changeset
|
12 #set $trans_options = str($transformations).replace(',', ' ') |
c01226f0d828
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit 4a5c3c370df53a00aded3eaae40f3a8e4a263385-dirty
bgruening
parents:
2
diff
changeset
|
13 #else: |
c01226f0d828
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit 4a5c3c370df53a00aded3eaae40f3a8e4a263385-dirty
bgruening
parents:
2
diff
changeset
|
14 #set $trans_options = '' |
c01226f0d828
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit 4a5c3c370df53a00aded3eaae40f3a8e4a263385-dirty
bgruening
parents:
2
diff
changeset
|
15 #end if |
0
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
16 |
8
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
17 gm convert |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
18 -resize ${resize}%x |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
19 $trans_options |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
20 #if $palette.palette_select == "automatic" |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
21 -type Palette |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
22 #else if $palette.palette_select == "manual" |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
23 -colors '${palette.palette}' |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
24 #end if |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
25 'input.${input.ext}' |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
26 'temp.${output_format}' |
0
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
27 && |
8
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
28 mv 'temp.${output_format}' '${output}' |
0
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
29 ]]> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
30 </command> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
31 <inputs> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
32 <param format="jpg,png,bmp,gif,svg,eps,tiff,xcf" name="input" type="data" label="Image to convert" /> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
33 <param name="transformations" multiple="true" type="select" display="checkboxes" label="Transformations"> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
34 <option value="-flip">flip vertically</option> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
35 <option value="-flop">flip horizontally</option> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
36 <option value="-rotate 90">rotate 90 degree to the right</option> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
37 <option value="-rotate 270">rotate 90 degree to the left</option> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
38 <option value="-rotate 180">rotate 180 degree</option> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
39 </param> |
8
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
40 |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
41 <conditional name="palette"> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
42 <param name="palette_select" type="select" label="Reduce Color Palette"> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
43 <option value="no" selected="true">No</option> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
44 <option value="automatic">Automatic</option> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
45 <option value="manual">Manual</option> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
46 </param> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
47 <when value="automatic" /> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
48 <when value="manual"> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
49 <param name="palette" type="integer" min="1" label="Color Palette Size" value="32" help="Number of colors to use, should be in powers of 2 (1, 2, 4, 8, 16, 32, 64, ...), otherwise space is wasted in the palette."/> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
50 </when> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
51 </conditional> |
5
57e2503e6039
"planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dfb826cf50d7a26f033ce3da12f7606de67add9c"
bgruening
parents:
4
diff
changeset
|
52 <param name="resize" type="float" value="100" label="Resize (%)" min="0"/> |
0
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
53 <param name="output_format" type="select" label="Output Format"> |
5
57e2503e6039
"planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dfb826cf50d7a26f033ce3da12f7606de67add9c"
bgruening
parents:
4
diff
changeset
|
54 <option value="jpg">jpg</option> |
0
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
55 <option value="png">png</option> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
56 <option value="bmp">bmp</option> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
57 <option value="gif">gif</option> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
58 <option value="svg">svg</option> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
59 <option value="eps">eps</option> |
6
eb09d7e6d727
"planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit 5f5be1307a70cae3149db449d81472079a9487fd"
bgruening
parents:
5
diff
changeset
|
60 <option value="pdf">pdf</option> |
0
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
61 <option value="tiff">tiff</option> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
62 </param> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
63 </inputs> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
64 <outputs> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
65 <data format="png" name="output"> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
66 <change_format> |
5
57e2503e6039
"planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dfb826cf50d7a26f033ce3da12f7606de67add9c"
bgruening
parents:
4
diff
changeset
|
67 <when input="output_format" value="jpg" format="jpg" /> |
0
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
68 <when input="output_format" value="png" format="png" /> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
69 <when input="output_format" value="bmp" format="bmp" /> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
70 <when input="output_format" value="gif" format="gif" /> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
71 <when input="output_format" value="svg" format="svg" /> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
72 <when input="output_format" value="eps" format="eps" /> |
6
eb09d7e6d727
"planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit 5f5be1307a70cae3149db449d81472079a9487fd"
bgruening
parents:
5
diff
changeset
|
73 <when input="output_format" value="pdf" format="pdf" /> |
0
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
74 <when input="output_format" value="tiff" format="tiff" /> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
75 </change_format> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
76 </data> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
77 </outputs> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
78 <tests> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
79 <test> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
80 <param name="input" value="donald.jpg" /> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
81 <param name="output_format" value="png" /> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
82 <param name="transformations" value="-flip" /> |
5
57e2503e6039
"planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dfb826cf50d7a26f033ce3da12f7606de67add9c"
bgruening
parents:
4
diff
changeset
|
83 <param name="resize" value="50" /> |
0
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
84 <output name="output" file="result_image_convert_1.png" compare="sim_size" delta="20000" /> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
85 </test> |
8
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
86 <test> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
87 <param name="input" value="donald.jpg" /> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
88 <param name="output_format" value="jpg" /> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
89 <conditional name="palette"> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
90 <param name="palette_select" value="automatic" /> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
91 </conditional> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
92 <output name="output" file="donald-palette.jpg" compare="sim_size" delta="20000" /> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
93 </test> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
94 <test> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
95 <param name="input" value="donald.jpg" /> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
96 <param name="output_format" value="jpg" /> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
97 <conditional name="palette"> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
98 <param name="palette_select" value="manual" /> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
99 <param name="palette" value="2" /> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
100 </conditional> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
101 <output name="output" file="donald-colors-2.jpg" compare="sim_size" delta="20000" /> |
99217847314a
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe
bgruening
parents:
7
diff
changeset
|
102 </test> |
0
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
103 </tests> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
104 <help> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
105 <![CDATA[ |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
106 |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
107 **What it does** |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
108 |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
109 This tool converts an image into another format. You can also do some transformations like flipping or rotating. |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
110 Here you can see, how -flip behaves: |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
111 |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
112 Input: |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
113 |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
114 .. image:: $PATH_TO_IMAGES/donald.jpg |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
115 |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
116 Output: |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
117 |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
118 .. image:: $PATH_TO_IMAGES/donald.png |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
119 |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
120 ]]> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
121 </help> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
122 <expand macro="citations" /> |
3d3e4a1bd21e
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff
changeset
|
123 </tool> |