Important facts about commercial licenses

  • Licenses are perpetual. They do not expire and do not need to be renewed.
  • Licenses can be upgraded. You can upgrade to a more expensive license later paying only the difference in cost.
  • Pay attention to the distribution type - Hosted (sites / servers), binary (applications) or source (includes all the others). Choose according to your needs (more below).
  • All licenses allow commercial use unless otherwise indicated.
  • Read the full license by clicking on the icon.
  • Read more about licenses in our handy license guide.
Free

Personal License

Unlimited projects Source and binary distribution
You need to log-in or create an account
  • Create an account
  • Log-in
  • Please use your real name.
  • Account activation link will be sent to this address.
  • Minimum 8 characters

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

(1 ratings)

Simple image resize

Simple image resize
Developed by Marcelo Magalhães Santana Silva, Released May 1, 2011

A class for resizing images. Can be used manipulate width and height for images for application images, website images and other use-cases

Java

Tags: images , inputstream , resizable , resize

The class contain an easy to use method that operates on an image stream and resizes it to the given dimensions.

Example:

package sample;

import java.io.IOException;
import resizeimage.ResizeImage;

/**
 *
 * @author Marcelo Silva
 */
public class ResizeImageSample {
    public static void main(String... args) {
        //The original image is 1024X768 in JPEG format. 
        new ResizeImageSample().test();
    }

    public void test() {
        try {
          // Resizing the image into a 600X400 PNG image
          ResizeImage.resizeImage( this.getClass().getResourceAsStream("test.jpg"), 600, 400, "png","testResizeImage","C:\\test\\");
        } catch (IOException ex) {
            ex.printStackTrace();
        }
    }
}
View all 1 reviews »

User Reviews

Read all 2 comments »

Questions & Comments


Or enter your name and Email
You must be logged-in to vote. Log-in to your account or register now.