*
The moose likes Swing / AWT / SWT and the fly likes How to fade an image? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to fade an image?" Watch "How to fade an image?" New topic
Author

How to fade an image?

James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401
When a user prints from my application, I want to use one of my images as a watermark on the printed page.

To do this, I need to fade the image (i.e., make the colours less bold). Does anyone know how I can do this (Java 1.1)??

Any sample code would go down well!

Cheers,
James
Nikos Stavros
Ranch Hand

Joined: Feb 24, 2006
Posts: 243

You can use the free software called ImageJ

That should allow the effect with the smoothing algorithims

the following code from blueJ might be useful


[ November 03, 2006: Message edited by: Nikos Katsikanis ]

Jesus lives
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to fade an image?