What is the best way to scale images in Java? -


I have a web application written in java (spring, hibernate / jpa, struts 2) where users upload images Can and store them. File system I want to scale those pictures so that they are a consistent size for display on the site. What libraries or functions will provide the best results made?

  • Easy to apply
  • I will consider the following criteria in my decision (in this order):

    • Free / Open Source (Required) Quality of results
    • Executable
  • Look for the image to read / write. Then use for resizing.

    In addition, a complete example using java.awt.Image.


    Comments

    Popular posts from this blog

    python - Overriding the save method in Django ModelForm -

    html - CSS autoheight, but fit content to height of div -

    qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -