Re: Image Processing Problem. Need Help
From: Kevin McMurtrie (mcmurtri_at_dslextreme.com)
Date: 03/09/05
- Next message: Daniel: "Re: string searching program."
- Previous message: Alex Molochnikov: "List available data sources in EJB"
- In reply to: Chris: "Image Processing Problem. Need Help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 08 Mar 2005 23:28:48 -0800
In article <d0lv4v$nth$1@news.hgc.com.hk>,
"Chris" <chriskum9092@yahoo.com.hk> 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.
- Next message: Daniel: "Re: string searching program."
- Previous message: Alex Molochnikov: "List available data sources in EJB"
- In reply to: Chris: "Image Processing Problem. Need Help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|