Previous changeset 4:4e9a3745dce4 (2019-07-14) Next changeset 6:eb09d7e6d727 (2019-11-25) |
Commit message:
"planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dfb826cf50d7a26f033ce3da12f7606de67add9c" |
modified:
convert.xml test-data/result_image_convert_1.png |
added:
test-data/result_image_montage_1.png |
removed:
test-data/result_image_montage_1.jpg |
b |
diff -r 4e9a3745dce4 -r 57e2503e6039 convert.xml --- a/convert.xml Sun Jul 14 06:07:00 2019 -0400 +++ b/convert.xml Tue Sep 10 09:21:05 2019 -0400 |
b |
@@ -1,4 +1,4 @@ -<tool id="graphicsmagick_image_convert" name="Image Converter" version="@VERSION@"> +<tool id="graphicsmagick_image_convert" name="Image Converter" version="@VERSION@+galaxy1"> <description></description> <macros> <import>macros.xml</import> @@ -14,7 +14,7 @@ #set $trans_options = '' #end if - gm convert $trans_options input.${input.ext} temp.${output_format} + gm convert -resize ${resize}%x $trans_options input.${input.ext} temp.${output_format} && mv temp.${output_format} '${output}' ]]> @@ -28,8 +28,9 @@ <option value="-rotate 270">rotate 90 degree to the left</option> <option value="-rotate 180">rotate 180 degree</option> </param> + <param name="resize" type="float" value="100" label="Resize (%)" min="0"/> <param name="output_format" type="select" label="Output Format"> - <option value="jpeg">jpg</option> + <option value="jpg">jpg</option> <option value="png">png</option> <option value="bmp">bmp</option> <option value="gif">gif</option> @@ -41,7 +42,7 @@ <outputs> <data format="png" name="output"> <change_format> - <when input="output_format" value="jpeg" format="jpg" /> + <when input="output_format" value="jpg" format="jpg" /> <when input="output_format" value="png" format="png" /> <when input="output_format" value="bmp" format="bmp" /> <when input="output_format" value="gif" format="gif" /> @@ -56,6 +57,7 @@ <param name="input" value="donald.jpg" /> <param name="output_format" value="png" /> <param name="transformations" value="-flip" /> + <param name="resize" value="50" /> <output name="output" file="result_image_convert_1.png" compare="sim_size" delta="20000" /> </test> </tests> |
b |
diff -r 4e9a3745dce4 -r 57e2503e6039 test-data/result_image_convert_1.png |
b |
Binary file test-data/result_image_convert_1.png has changed |
b |
diff -r 4e9a3745dce4 -r 57e2503e6039 test-data/result_image_montage_1.jpg |
b |
Binary file test-data/result_image_montage_1.jpg has changed |
b |
diff -r 4e9a3745dce4 -r 57e2503e6039 test-data/result_image_montage_1.png |
b |
Binary file test-data/result_image_montage_1.png has changed |