diff tools/image_filmify.xml @ 0:64374d852e36

Uploaded
author tomasz-bednarz
date Mon, 25 Nov 2013 21:32:12 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/image_filmify.xml	Mon Nov 25 21:32:12 2013 -0500
@@ -0,0 +1,29 @@
+<tool id="image_filmify" name="Image Filmify" version="1.0.0">
+
+	<description>Change image to funky film-frame looking image.</description>
+
+	<command interpreter="python" >
+		image_do.py -i $input -o $output -c "filmify" -s "$label_film" -e "$input.ext"
+  	</command>
+
+	<inputs>
+		<param name="input" type="data" format="png,jpg,tif,zip" label="Input image" help="Original RGB or grayscale image." />
+		<param name="label_film" size="20" type="text" value="cloudimaging.net.au" label="Label for the movie frame." />
+	</inputs>
+	
+	<outputs>
+		<data format="input" name="output" metadata_source="input" label="Filmify on ${input.display_name}"/>
+	</outputs>
+	
+	<help>
+		Makes the image look like 35mm film. 
+  	</help>
+
+  	<tests>
+  		<test>
+  			<param name="input" value="sydney.jpg" />
+  			<output name="output" file="sydney-filmify.jpg" />
+  		</test>
+  	</tests>
+
+</tool>
\ No newline at end of file