This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSP and the fly likes Having problem for converting .png image to transparent image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "Having problem for converting .png image to transparent image" Watch "Having problem for converting .png image to transparent image" New topic
Author

Having problem for converting .png image to transparent image

Sapan Shah
Greenhorn

Joined: Jan 01, 2010
Posts: 25
I have an image named 90210257T.png and we have to make the image background transparent.
The following is the code we are using for converting image into transparent background named trans.png ,now the problem is that when we use to display in html or jsp page the lines of the image get blur.







[Thumbnail for 90210257T.png]


[Thumbnail for trans.png]

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61299
    
  66

Why on earth are you doing this at run-time, instead of just fixing the image in Photoshop once?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Having problem for converting .png image to transparent image