Well for one, I have all my build scripts draw in the version and build #
directly into the splash screen for our products. I figured I'd take this
one step further...
~~K
-----Original Message-----
From: Magesh Umasankar [mailto:umagesh@apache.org]
Sent: Tuesday, May 07, 2002 4:43 AM
To: Ant Developers List
Subject: Re: JAI Image Manipulation Task Example
Please provide a use case for an Image Manipulation
task in a build environment.
Cheers,
Magesh
********************************************************
* Lecture: An art of transferring information from *
* the notes of lecturer to the notes of the students *
* without passing through "the minds of either". *
********************************************************
----- Original Message -----
From: "Kevin Grey" <KGrey@dynamicsoft.com>
To: <ant-dev@jakarta.apache.org>
Sent: Tuesday, May 07, 2002 3:18 AM
Subject: JAI Image Manipulation Task Example
>
> Heya,
>
> Please comment on the following image manipulation task. The
> operations would be performed depth-first and would pass the resulting
image
> up the branch to the next element. This example draws aligned text inside
a
> rectangle with a transparent background, which is then drawn to the
> coordinates (50,50). The image is then scaled to 10% of its size, rotated
> 45 degrees, then draws what ends up to be a circle with a diameter of 1
> pixel. It then does some levels adjustments. I haven't considered stuff
> like color balance or composites too much. Let me know what you think.
>
> <image-manip srcdir="D:/development/jakarta-ant/TEST_IMAGES"
> includes="**/*.jpg,**/*.bmp">
> <draw xloc="50" yloc="50">
> <rectangle width="10" height="10" bgcolor="transparent">
> <text align="left" valign="middle" point="10"
> string="Hello World"/>
> </rectangle>
> </draw>
> <scale dim="10%x10%"/>
> <rotate angle="45"/>
> <draw xloc="40" yloc="40">
> <scale dim="1x1">
> <circle bgcolor="FF0000" radius="5"/>
> </scale>
> </draw>
> <levels brightness="50" contrast="50" gamma="1.4"/>
> <autolevels/>
> </image-manip>
>
> ~~K
> Kevin Z Grey
>
>
>
> --
> To unsubscribe, e-mail: <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
|