view montage.xml @ 0:190b3bcc00aa draft

planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit dd88ad4ff9d10d72ed60263da31b406074173853
author bgruening
date Wed, 10 Oct 2018 16:16:35 -0400
parents
children 4dada93ef525
line wrap: on
line source

<tool id="graphicsmagick_image_montage" name="Image Montage" version="@VERSION@">
    <description></description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <command detect_errors="aggressive">
<![CDATA[
        ln -s '${input}' input_existing.jpg
        &&
        ln -s '${input_new}' input_new.jpg
        &&
        montage input_existing.jpg input_new.jpg -geometry +0+0 -background none -tile 1x2 temp.jpg
]]>
    </command>

    <inputs>
        <param format="jpg" name="input" type="data" label="Existing Image" />
        <param format="jpg" name="input_new" type="data" label="New Image" />
    </inputs>
    <outputs>
        <data format="jpg" name="output" from_work_dir="temp.jpg" />
    </outputs>
    <tests>
        <test>
            <param name="input" value="donald.jpg" />
            <param name="input_new" value="donald.jpg" />
            <output name="output" file="result_image_montage_1.jpg" compare="sim_size" />
        </test>
    </tests>
    <help>
<![CDATA[

**What it does**

Stick Images together


]]>
    </help>
    <expand macro="citations" />
</tool>