• Post Reply Bookmark Topic Watch Topic
  • New Topic

how do i set 1 colour as transparent in all loaded images

 
James Doig
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What would i need to do to set a uniform transparency on all images that I load in a JAVA2 aplication?
I have looked at some Java2D transparecy tutorials but that only seems to cover stting the transparen of the entire image.
How would I, say make 255 green on all images transparent but keep the rest 100% opaque?
thanks
[ November 09, 2003: Message edited by: Clue Less ]
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Clue Less,
Welcome to JavaRanch!
We don't have many rules here at JavaRanch, but we do have one. Please change your display name to comply with The JavaRanch Naming Policy.
(We are looking for names that are not obviously fictitious.)
Thanks, Pardner!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!