Re: Image Processing Problem. Need Help

From: Kevin McMurtrie (mcmurtri_at_dslextreme.com)
Date: 03/09/05


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.



Relevant Pages

  • Socket recv being slow
    ... There's a server, implemented in Java, that I must create a C++ client for. ... There's already such API implemented in Java ... API equivalent socket call takes less than 30 milliseconds, ...
    (microsoft.public.win32.programmer.networks)
  • Krb5 native and JGSS messages
    ... authenticate to the server with Kerberos. ... Java is to use the org.ietf.jgss API. ... ones used by the native MIT API? ...
    (comp.protocols.kerberos)
  • Re: EJB is a specification for J2EE server
    ... On Sun's Java site. ... ok..so these application server guys implements this ejb specs ......so ... A J2EE server is a container. ... Java IDL API ...
    (comp.lang.java.programmer)
  • Image Processing Problem. Need Help
    ... I am writing a web application with Java. ... user can upload a picture to server, and the server will resize it. ... The resized image quanlity is very bad. ... Can anyone reccommend that any way or tool can resize image with good ...
    (comp.lang.java.programmer)
  • Image Processing Problem
    ... I am writing a web application with Java. ... user can upload a picture to server, and the server will resize it. ... The resized image quanlity is very bad. ... Can anyone reccommend that any way or tool can resize image with good ...
    (comp.lang.java.help)