Java Image Conversion

Asked 2 years ago, Updated 2 years ago, 52 views

I'm trying to convert the size of the Java image to a smaller size The image is broken using getScaledInstance() Is there any other way?

java image

2022-09-22 20:41

1 Answers

If you are planning to use JAI (https://www.oracle.com/technetwork/java/iio-141084.html) or use the Image object as it is, Image in the third factor value of getScaledInstance.Set SCALE_SMOOTH.


2022-09-22 20:41

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.