The resize to Height operation will rescale the image so that it is a set number of pixels high.
File input = new File("path\to\file"); File output = new File("path\to\output rotated file"); ImageProcessingOperations operations = new ImageProcessingOperations(); operations.resizeToHeight(100); // make image 100 pixels high //you can chain other operations here like scale, 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.
Still need help? Send us your questions.