Resizing images

Hi, whats the easiest way to resize an image? The images are (376,282) and I want to resize it to like (300, 206).Thanks,Chris
[147 byte] By [Chris03a] at [2007-10-3 3:11:08]
# 1
http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Image.html#getScaledInstance(int,%20int,%20int)
mlka at 2007-7-14 21:01:58 > top of Java-index,Java Essentials,Java Programming...
# 2
Thanks, what would I enter for hints?
Chris03a at 2007-7-14 21:01:58 > top of Java-index,Java Essentials,Java Programming...
# 3
> Thanks, what would I enter for hints?A few clues.
Derek_Acoraha at 2007-7-14 21:01:58 > top of Java-index,Java Essentials,Java Programming...
# 4

static int SCALE_AREA_AVERAGING

Use the Area Averaging image scaling algorithm.

static int SCALE_DEFAULT

Use the default image-scaling algorithm.

static int SCALE_FAST

Choose an image-scaling algorithm that gives higher priority to scaling speed than smoothness of the scaled image.

static int SCALE_REPLICATE

Use the image scaling algorithm embodied in the ReplicateScaleFilter class.

static int SCALE_SMOOTH

Choose an image-scaling algorithm that gives higher priority to image smoothness than scaling speed.

mlka at 2007-7-14 21:01:58 > top of Java-index,Java Essentials,Java Programming...
# 5
Thanks, I never really understood all that!Thanks,Chris
Chris03a at 2007-7-14 21:01:58 > top of Java-index,Java Essentials,Java Programming...