-
public final class ExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static ByteArraytoByteArray(ImageProxy $self)final static BooleanshouldCrop(ImageProxy $self)final static ByteArraytoCroppedByteArray(ImageProxy $self)final static SizeforOrientation(Size $self, Boolean isPortrait)Swaps width and height for portrait. -
-
Method Detail
-
toByteArray
final static ByteArray toByteArray(ImageProxy $self)
-
shouldCrop
final static Boolean shouldCrop(ImageProxy $self)
-
toCroppedByteArray
final static ByteArray toCroppedByteArray(ImageProxy $self)
-
forOrientation
final static Size forOrientation(Size $self, Boolean isPortrait)
Swaps width and height for portrait.
- Parameters:
isPortrait- pass intrueif in portrait orientation
-
-
-
-