comparison tools/sharpen.xml @ 2:a44112280169

Uploaded
author tomasz-bednarz
date Mon, 25 Nov 2013 21:12:30 -0500
parents
children
comparison
equal deleted inserted replaced
1:795060eb6643 2:a44112280169
1 <tool id="filter_sharpen" name="Filter - Sharpen" version="1.0.2">
2
3 <description>Apply a sharpen filter on image.</description>
4
5 <command interpreter="python" >
6 #if (str($input.ext) == 'jpg'):
7 pil_filter.py $input $output sharpen jpeg
8 #else:
9 pil_filter.py $input $output sharpen ${input.ext}
10 #end if
11 </command>
12
13 <inputs>
14 <param name="input" type="data" format="png,jpg,tif,zip" label="Input image" help="Original RGB or grayscale image." />
15 </inputs>
16
17 <outputs>
18 <data format="input" name="output" metadata_source="input" label="Sharpen filter on ${input.display_name}"/>
19 </outputs>
20
21 <help>
22 Apply a sharpen filter on the image.
23 </help>
24
25 <tests>
26 <test>
27 <param name="input" value="images/sydney.jpg" />
28 <output name="output" file="images/sydney-sharpen.jpg" />
29 </test>
30 </tests>
31
32 </tool>