Mercurial > repos > tomasz-bednarz > filter_tools
view tools/detail.xml @ 3:952a37c4ffc8 default tip
contact added
author | tomasz-bednarz |
---|---|
date | Tue, 26 Nov 2013 13:17:03 +1100 |
parents | a44112280169 |
children |
line wrap: on
line source
<tool id="filter_detail" name="Filter - Detail" version="1.0.2"> <description>Apply a detail filter on image.</description> <command interpreter="python" > #if (str($input.ext) == 'jpg'): pil_filter.py $input $output detail jpeg #else: pil_filter.py $input $output detail ${input.ext} #end if </command> <inputs> <param name="input" type="data" format="png,jpg,tif,zip" label="Input image" help="Original RGB or grayscale image." /> </inputs> <outputs> <data format="input" name="output" metadata_source="input" label="Detail on ${input.display_name}" /> </outputs> <help> Apply a detail filter on image (unsharp mask). </help> <tests> <test> <param name="input" value="images/sydney.jpg" /> <output name="output" file="images/sydney-detail.jpg" /> </test> </tests> </tool>