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 "resize" (scale), "overlay" (one image on another), "border" (add a border), "text" (text on image), "crop" (a sub-image of a bigger image), "rotate", "grayscale" (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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]