Re: jpeg resizing in a headless environment

Discussion in 'Java' started by Marco Schmidt, Jul 27, 2003.

  1. Joe Hudson:

    >Hello, thanks in advance for anyone reading this message. I have a
    >servlet application in a headless environment that resizes images to
    >make thumbnails.


    Check out
    <http://www.geocities.com/marcoschmidt.geo/java-save-jpeg-thumbnail.html>,
    it reportedly works in a headless environment.

    Regards,
    Marco
    --
    Please reply in the newsgroup, not by email!
    Java programming tips: http://jiu.sourceforge.net/javatips.html
    Other Java pages: http://www.geocities.com/marcoschmidt.geo/java.html
     
    Marco Schmidt, Jul 27, 2003
    #1
    1. Advertisements

  2. Marco Schmidt

    Joe Hudson Guest

    Thank you both very much for replying to my message. I really
    appreciate it. I am going to look at the links right now but I just
    wanted to thank you for helping me.

    Joe
     
    Joe Hudson, Jul 28, 2003
    #2
    1. Advertisements

  3. Josef Garvi:

    [thumbnail generation]

    >This code works very well.
    >Just one question though:
    >The shrunken thumbnail becomes a pit grainy. When resizing images with i.e.
    >Photoshop, the result is a much smoother image. Is this due to Photoshop
    >using a better algorithm, or simply because Photoshop applies some type of
    >blur after resizing?


    Sorry for the delay, I didn't notice your message.

    Can be both. You could apply a blur as well (ConvolveOp), also try it
    _before_ the resize operation. You could also resize in several steps,
    in each step reducing to the half (e.g. 4000 => 2000 => 1000 => 500 =>
    final size).

    Regards,
    Marco
    --
    Please reply in the newsgroup, not by email!
    Java programming tips: http://jiu.sourceforge.net/javatips.html
    Other Java pages: http://www.geocities.com/marcoschmidt.geo/java.html
     
    Marco Schmidt, Sep 4, 2003
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sandman
    Replies:
    1
    Views:
    1,089
    Lynn Robinson
    Jul 14, 2003
  2. cyranoVR
    Replies:
    0
    Views:
    568
    cyranoVR
    Jun 8, 2005
  3. cyranoVR
    Replies:
    4
    Views:
    15,159
    cyranoVR
    Jun 9, 2005
  4. Michiel Sikma
    Replies:
    2
    Views:
    397
    Chuck Rhode
    Feb 15, 2007
  5. lovaspillando
    Replies:
    0
    Views:
    1,312
    lovaspillando
    Aug 26, 2007
  6. Ivan Alameda Carballo
    Replies:
    0
    Views:
    714
    Ivan Alameda Carballo
    Aug 26, 2007
  7. Alex DeCaria
    Replies:
    2
    Views:
    262
    Alex DeCaria
    Feb 19, 2010
  8. Pil (Trustworthy from Experience)

    Resizing a div by resizing its borders

    Pil (Trustworthy from Experience), Apr 18, 2009, in forum: Javascript
    Replies:
    9
    Views:
    610
    Proper
    Apr 21, 2009
Loading...