net.coobird.thumbnailator.filters
Class SwapDimensions
java.lang.Object
net.coobird.thumbnailator.filters.SwapDimensions
- All Implemented Interfaces:
- ImageFilter
public class SwapDimensions
- extends Object
- implements ImageFilter
This is a no-op filter that acts as a "flag" to enable proper handling of
dimensions for images that will be oriented by using Exif metadata.
This is an internal filter that should not be used by consumers of
Thumbnailator.
getInstance
public static SwapDimensions getInstance()
apply
public BufferedImage apply(BufferedImage img)
- Description copied from interface:
ImageFilter
- Applies a image filtering operation on an image.
- Specified by:
apply in interface ImageFilter
- Parameters:
img - The image to apply the filtering on.
- Returns:
- The resulting image after applying this filter.
Copyright © 2022. All rights reserved.