• Post Reply Bookmark Topic Watch Topic
  • New Topic

Resizing an image  RSS feed

 
rohith yenumula
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an image with dimensions 500x500. Is it possible to resize the image to say 20x20 so that it fits into a button?
 
Rob Camick
Ranch Hand
Posts: 2756
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you read the Image API before asking this question?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start here: The Perils of Image.getScaledInstance()
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!