Posted by: Morten Nobel-Jørgensen | August 21, 2010

java-image-scaling 0.8.5 released

I have released a new version of my image scaling library for Java. The new version contains two minor bugfixes:

  • Fix minor rounding error ( Issue 16 )
  • Change DimensionConstrain constructor from private to protected ( Issue 19 )

The binaries and source is available on the projects website:

Besides the library is also available from the maven repositories:



  1. Hi,
    Please let me know if I need to crop a image how can I do that using Image Scaling API. I had tried to use the ResampleOp() constructor and passed the parameter as ResampleOp(71,71) but it is making the image flat, so I want to crop the image.


    • Hi Sameer

      The library does currently not support cropping the image – but you can use the method BufferedImage.getSubimage(x,y,w,h) to crop an image (after you have scaled the image).
      I encourage you to take a look at the class com.mortennobel.imagescaling.DimensionConstrain – this should give you an idea of how the rescale dimension is computed.

      – Morten

  2. Hi,

    i m wondering does ResampleOp support anti-aliasing?

    Or can i easily extend ResampleOp to say, add an JitterFilter, which will jitter samples my bufferedImage.

    thanks in advance

  3. […] looking for a good image resizing solution in java, and I believe Morten Nobel-Jørgensen’s java image scaling library fits that description.  Specifically, I chose to use his MultiStepRescaleOp class, which does not […]

  4. Hi Morten – your image resizing is very good indeed! Good quality results and of minimum size. Just one issue; sometimes vertical images are rotated by 90 degrees. Any advice ?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: