java.lang.Object
org.sejda.impl.sambox.component.ExifHelper
Reads exif orientation of an image and determines if the image should be rotated or not.
Based on https://stackoverflow.com/questions/5905868/how-to-rotate-jpeg-images-based-on-the-orientation-metadata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetRotationBasedOnExifOrientation(InputStream inputStream) static intgetRotationBasedOnExifOrientation(Source<?> source)
-
Constructor Details
-
ExifHelper
public ExifHelper()
-
-
Method Details
-
getRotationBasedOnExifOrientation
-
getRotationBasedOnExifOrientation
-