Image Processing Problem. Need Help  
Author Message
Chris





PostPosted: 2005-3-9 12:19:00 Top

java-programmer, Image Processing Problem. Need Help Hello, I am writing a web application with Java. There is a function that
user can upload a picture to server, and the server will resize it. I am
using the Java API to do this function. However, the result is not very
satisfactory. The resized image quanlity is very bad.

Can anyone reccommend that any way or tool can resize image with good
quality?

Please help. My boss needs me to complete this project this week.

Regards,
Chris


 
Kevin McMurtrie





PostPosted: 2005-3-9 15:29:00 Top

java-programmer >> Image Processing Problem. Need Help In article <d0lv4v$nth$email***@***.com>,
"Chris" <email***@***.com> wrote:

> Hello, I am writing a web application with Java. There is a function that
> user can upload a picture to server, and the server will resize it. I am
> using the Java API to do this function. However, the result is not very
> satisfactory. The resized image quanlity is very bad.
>
> Can anyone reccommend that any way or tool can resize image with good
> quality?
>
> Please help. My boss needs me to complete this project this week.
>
> Regards,
> Chris

The older Java image API bites. Spend a day Googling and stepping
through code in the debugger. Try the newer Java 2D API in Java 5
because it can call through to superior graphics engines in the OS.

http://java.sun.com/products/java-media/2D/samples/java2demo/Java2Demo.ht
ml

If that doesn't solve it, write your own anti-aliased scaler in Java.
You don't have time for JNI and C++ unless you're very familiar with it.