File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 61010
    
  65

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Having problem for converting .png image to transparent image