Skip to main content

Adding Border Image

1 reply [Last post]
vasan_sr
Offline
Joined: 2007-10-01
Points: 0

Hello All,
I need to add a image as a border to a picture or another image. I tried some samples using overlay and composite, but that doesn't solve my need.

Could any one please explain how will we add another image as border.

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Brian Burkhalter

You could put the main image into a TiledImage call createGraphics() and use
the returned object to draw the other image into the TiledImage.

On Mon, 1 Oct 2007, jai-interest@javadesktop.org wrote:

> Hello All,
> I need to add a image as a border to a picture or another image. I tried some samples using overlay and composite, but that doesn't solve my need.
>
> Could any one please explain how will we add another image as border.
>
> Thanks
> [Message sent by forum member 'vasan_sr' (vasan_sr)]
>
> http://forums.java.net/jive/thread.jspa?messageID=237903
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
> For additional commands, e-mail: interest-help@jai.dev.java.net
>
>

>^..^< >^..^<

Brian Burkhalter
Java Media, Imaging, and Graphics
Sun Microsystems, Inc.

This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
For additional commands, e-mail: interest-help@jai.dev.java.net