Mercurial > repos > bgruening > graphicsmagick_image_montage
view montage.xml @ 3:39881709807e draft
"planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit 5aab33d789d444edc6862fc4d0bb4a8d7d33bb88"
author | bgruening |
---|---|
date | Thu, 19 Dec 2019 05:39:42 -0500 |
parents | 4dada93ef525 |
children | 8dbc700cb940 |
line wrap: on
line source
<tool id="graphicsmagick_image_montage" name="Image Montage" version="@VERSION@+galaxy1"> <description></description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements" /> <command detect_errors="aggressive"> <![CDATA[ #for idx, data in enumerate($input): ln -s '${data}' ${idx}.${data.ext}; #end for gm montage #for idx, data in enumerate($input): ${idx}.${data.ext} #end for -geometry +0+0 -background none -tile ${width}x temp.png ]]> </command> <inputs> <param format="jpg,png,bmp,gif,svg,eps,tiff" name="input" type="data" multiple="true" label="Images" /> <param name="width" type="integer" value="4" label="# of images wide"/> </inputs> <outputs> <data format="png" name="output" from_work_dir="temp.png" /> </outputs> <tests> <test> <param name="input" value="donald.jpg,donald.jpg,donald.jpg,donald.jpg,donald.jpg,donald.jpg" /> <param name="width" value="4" /> <output name="output" file="result_image_montage_1.png" compare="sim_size" /> </test> </tests> <help> <![CDATA[ **What it does** Montage composites multiple images into a single, larger image. You may need to resize large images before you attempt to montage them. The width parameter controls how many images wide the montage will be. With a width of 4, and 8 images selected, you will get 2 rows of 4 images. If you have 6 images selected, the first row will have 4 images, and the second will only have two. ]]> </help> <expand macro="citations" /> </tool>