# Scale an image with improved quality

## What does it do?

Quality scale operation will scale the image by the provided scaling factor specified as a double. Unlike the other scale operation, this one uses custom scaling routine to produce higher quality output.

## Example in Java to scale an image

File input = new File("path\to\file");
File output = new File("path\to\output scaled file");

ImageProcessingOperations operations = new ImageProcessingOperations();
operations.qualityScale(scalingFactor);
//you can chain other operations here like rotate, blur, etc

JDeli.convert(input,output,operations);


Click here for a full list of Image Processing Operations and more general information on Image processing with JDeli.