ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abey Mullassery" <a...@mullassery.com>
Subject New ANT Image Transformation Tasks
Date Tue, 07 Oct 2003 09:45:19 GMT

I have developed a set of very simple ANT Image Tasks. It is actually one
task with nested elements for transformations.
Since lot of projects (atleast web apps) have images, this might be helpful.
It can be used for thumb-nailing, writing copyright information on the
images, overlaying images OR text to show info such as "NEW", "SOLD", "25%
Discount", etc.

The functionality is very similar to the JSP Image Taglib (the underlying
code is the same).

Read more about this task at http://www.mullassery.com/software/ANT/
You can try the task or see some image tag examples (very similar
functionality) at
http://www.mullassery.com/software/taglibs/


If you think this task is worth adding to the ANT task list, please do.
The details in the xml snippet required (as mentioned in the FAQ) is
included below: -

==================================================================
<subsection name="Image Tasks">
    <p>Image task generates and transforms images. It exposes the imaging
capability available in Java2D, Java Advanced Imaging, ImageIO, etc., as set
of nested elements.</p>
    <p>Image operations such as &quot;resize&quot; (scale),
&quot;overlay&quot; (one image on another), &quot;border&quot; (add a
border), &quot;text&quot; (text on image), &quot;crop&quot; (a sub-image of
a bigger image), &quot;rotate&quot;, &quot;grayscale&quot; (change a color
image to shades of gray)</p>
    <table class="externals">
        <tr>
            <th>Compatibility:</th>
            <td>Ant 1.3</td>
        </tr>
        <tr>
            <th>URL:</th>
            <td><a
href="http://www.mullassery.com/software/ANT">http://www.mullassery.com/soft
ware/ANT</a></td>
        </tr>
        <tr>
            <th>Contact:</th>
            <td><a
href="http://www.mullassery.com/contact/feedback.jsp">Abey
Mullassery</a></td>
        </tr>
        <tr>
            <th>License:</th>
            <td>Apache Software License</td>
        </tr>
    </table>
</subsection>
==================================================================

Please let me know your comments and suggestions.

Regards,

Abey Mullassery
http://www.mullassery.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message