-
- All Implemented Interfaces:
-
com.cloudinary.android.preprocess.Preprocess
public class Limit implements Preprocess<Bitmap>
Preprocess implementation for resizing. Send an instance to addStep to scale down any image larger then height/width. The scaling retains aspect ratio while making sure the height and width are within the requested maximum bounds. If the original image is smaller than height and width, it will be returned unchanged.