annotate convert.xml @ 11:f0de81b548eb draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit f95acc6a545c55837b9953b7ae5590aade279ee1
author bgruening
date Sun, 24 Mar 2024 17:24:43 +0000
parents 5376a7767fb3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
5376a7767fb3 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents: 8
diff changeset
1 <tool id="graphicsmagick_image_convert" name="Convert image format" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
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>
9
5376a7767fb3 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents: 8
diff changeset
51 <when value="no" />
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
52 </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
53 <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
54 <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
55 <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
56 <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
57 <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
58 <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
59 <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
60 <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
61 <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
62 <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
63 </param>
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
64 </inputs>
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
65 <outputs>
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
66 <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
67 <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
68 <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
69 <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
70 <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
71 <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
72 <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
73 <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
74 <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
75 <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
76 </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
77 </data>
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
78 </outputs>
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
79 <tests>
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
80 <test>
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="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
82 <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
83 <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
84 <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
85 <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
86 </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
87 <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
88 <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
89 <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
90 <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
91 <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
92 </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
93 <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
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 <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
96 <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
97 <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
98 <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
99 <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
100 <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
101 </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
102 <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
103 </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
104 </tests>
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
105 <help>
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
106 <![CDATA[
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
107
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
108 **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
109
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
110 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
111 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
112
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
113 Input:
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
114
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
115 .. 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
116
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
117 Output:
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
118
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
119 .. 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
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 ]]>
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
122 </help>
3d3e4a1bd21e planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
bgruening
parents:
diff changeset
123 <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
124 </tool>