File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Swing / AWT / SWT
How to resize image
Joined: Dec 29, 2000
Mar 29, 2001 12:33:00
I want to resize image, say,the original size of the image is 800*600, i want to reduce it to 80% of original size.
Thanks for your kind help in advance.
Joined: Feb 22, 2001
Mar 29, 2001 18:44:00
Here is a link to the docs for the Image method getScaledInstance:
It takes a new height and width for parameters, not percentage, but you should be able to calculate those yourself.
[This message has been edited by Angela Ann (edited March 29, 2001).]
rocket mass heater
subject: How to resize image
Retrive Exif data from jpeg Image
how to get Image from Canvas
help needed to reshape an image
several animation frames in one file, transparency issues
Image in JLabel
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014