Package io.anyline2.util
Class ImageUtil
-
- All Implemented Interfaces:
public class ImageUtil
-
-
Constructor Summary
Constructors Constructor Description ImageUtil()
-
Method Summary
Modifier and Type Method Description static int
getRotationCompensation(Context context, int cameraId, boolean isFrontFacing)
Get the angle by which an image must be rotated given the device's current orientation. -
-
Method Detail
-
getRotationCompensation
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) static int getRotationCompensation(Context context, int cameraId, boolean isFrontFacing)
Get the angle by which an image must be rotated given the device's current orientation.
-
-
-
-