changeset 2:8ff10e226c37 draft default tip

Uploaded
author bgruening
date Sat, 14 Mar 2015 17:42:53 -0400
parents 7ff9146333d3
children
files convert.xml montage.xml tool_dependencies.xml
diffstat 3 files changed, 44 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/convert.xml	Mon Nov 18 16:11:17 2013 -0500
+++ b/convert.xml	Sat Mar 14 17:42:53 2015 -0400
@@ -4,11 +4,13 @@
         <requirement type="package" version="1.3.18">graphicsmagick</requirement>
     </requirements>
     <command>
+<![CDATA[
         ln -s '${input}' input.${input.ext};
         #set $trans_options = str($transformations).replace(',', ' ')
 
         convert $trans_options input.${input.ext} temp.${output_format};
         mv temp.${output_format} '${output}';
+]]>
     </command>
 
     <inputs>
@@ -28,7 +30,7 @@
                 <option value="svg">svg</option>
                 <option value="eps">eps</option>
                 <option value="tiff">tiff</option>
-            </param>
+        </param>
     </inputs>
     <outputs>
         <data format="png" name="output">
@@ -53,6 +55,7 @@
 
   </tests>
     <help>
+<![CDATA[
 
 **What it does**
 
@@ -67,5 +70,6 @@
 
 .. image:: $PATH_TO_IMAGES/donald.png
 
+]]>
     </help>
 </tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/montage.xml	Sat Mar 14 17:42:53 2015 -0400
@@ -0,0 +1,38 @@
+<tool id="graphicsmagick_image_montage" name="Image Montage" version="0.1.0">
+    <description></description>
+    <requirements>
+        <requirement type="package" version="1.3.18">graphicsmagick</requirement>
+    </requirements>
+    <command>
+<![CDATA[
+        ln -s '${input_existing}' 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
+        &&
+        mv temp.jpg '${output}'
+]]>
+    </command>
+
+    <inputs>
+        <param format="jpg" name="input_existing" type="data" label="Existing Image" />
+        <param format="jpg" name="input_new" type="data" label="New Image" />
+    </inputs>
+    <outputs>
+        <data format="jpg" name="output">
+        </data>
+    </outputs>
+    <tests>
+  </tests>
+    <help>
+<![CDATA[
+
+**What it does**
+
+Stick Images together
+
+
+]]>
+    </help>
+</tool>
--- a/tool_dependencies.xml	Mon Nov 18 16:11:17 2013 -0500
+++ b/tool_dependencies.xml	Sat Mar 14 17:42:53 2015 -0400
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <tool_dependency>
     <package name="graphicsmagick" version="1.3.18">
-        <repository changeset_revision="2fd4eb971ba5" name="package_graphicsmagick_1_3" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu" />
+        <repository changeset_revision="bff3f66adff2" name="package_graphicsmagick_1_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" />
     </package>
 </tool_dependency>