Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Having problem for converting .png image to transparent image

 
Sapan Shah
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.




90210257T.png
[Thumbnail for 90210257T.png]
Original File
trans.png
[Thumbnail for trans.png]
Transparent image File
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64830
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why on earth are you doing this at run-time, instead of just fixing the image in Photoshop once?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic