Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Uploading an image and resizing it and saving it to disk.

 
Abhilash
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all ,
I am sorry if i am in a wrong place .

I have a problem with the resized image.

I uploaded an image resized it and saved it to the disk .. the resized image compared to the original one .. is of poor quality.Pixels are scatered all over . not much .. but one can make out the difference.

Is there any way i can improve the quality of the image while resizing.

all i do is

Image newimage = myImage.getScaledInstance(width,height,java.awt.Image.SCALE_DEFAULT);

and stored the image to a file.

Kindly guide me
Thanx and regards
Abhilash A t
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please see the previous requests to change your display name.

If you do not change immediately your account will be deleted and you won't be able to ask any more questions.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just in case you didn't realise, this is your last warning before your account is deleted.

Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic