Package info.magnolia.imaging.operations.cropresize

Interface Summary
Resizer Interfaces for Types able to resize BufferedImages.
 

Class Summary
AbstractCropAndResize<P extends ParameterProvider<?>> Subclasses of this determine which portion of the source image is taken into account, and what final dimensions the image needs to be resized to.
AutoCropAndResize A CropAndResize implementation which will resize to the configured targetWidth and targetHeight, and crop if needed: while respecting the ratio of the target dimensions, it will crop the image such that the largest possible portion of the image is kept.
BoundedResize A CropAndResize implementation which will never crop, and resize to either maxHeight or maxWidth while keeping the original image's ratio.
Coords A simple bean holding the coordinates of 2 points, determining an area for cropping an image, providing helper methods calculating and validating the width and height of the area.
CroppingInfo Holds the result of a human selection in a cropping UI component.
SelectedCropAndResize A CropAndResize implementation which uses coordinates as selected in a UI componenent.
Size A simple immutable bean holding two integers reprensenting a Size, width and height.
 



Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.