All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.blitline.image.functions.ImaggaSmartCrop Maven / Gradle / Ivy

There is a newer version: 0.17.1
Show newest version
package com.blitline.image.functions;

public class ImaggaSmartCrop extends AbstractFunction {
	@Override
	public String getName() {
		return "imagga_smart_crop";
	}
	
	public ImaggaSmartCrop(int width, int height) {
		params.put("resolution", height + "x" + width);
	}
	
	public ImaggaSmartCrop withNoScaling() {
		params.put("no_scaling", Boolean.TRUE);
		return this;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy