net.coobird.thumbnailator.util.exif
Class ExifFilterUtils
java.lang.Object
net.coobird.thumbnailator.util.exif.ExifFilterUtils
public final class ExifFilterUtils
- extends Object
An utility class which returns a suitable ImageFilter
to perform
the transformations necessary to properly orient an image according to the
Exif metadata.
- Author:
- coobird
getFilterForOrientation
public static ImageFilter getFilterForOrientation(Orientation orientation)
- Returns a
ImageFilter
which will perform the transformations
required to properly orient the thumbnail according to the Exif
orientation.
- Parameters:
orientation
- The Exif orientation
- Returns:
ImageFilter
s required to properly
orient the image.
Copyright © 2014. All rights reserved.