|
|
@ -121,6 +121,7 @@ public class CameraUtils { |
|
|
|
* is that this cares about orientation, reading it from the EXIF header. |
|
|
|
* is that this cares about orientation, reading it from the EXIF header. |
|
|
|
* |
|
|
|
* |
|
|
|
* @param source a JPEG byte array |
|
|
|
* @param source a JPEG byte array |
|
|
|
|
|
|
|
* @return decoded bitmap or null if error is encountered |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@SuppressWarnings("WeakerAccess") |
|
|
|
@SuppressWarnings("WeakerAccess") |
|
|
|
@Nullable |
|
|
|
@Nullable |
|
|
@ -223,6 +224,7 @@ public class CameraUtils { |
|
|
|
* @param maxWidth the max allowed width |
|
|
|
* @param maxWidth the max allowed width |
|
|
|
* @param maxHeight the max allowed height |
|
|
|
* @param maxHeight the max allowed height |
|
|
|
* @param options the options to be passed to decodeByteArray |
|
|
|
* @param options the options to be passed to decodeByteArray |
|
|
|
|
|
|
|
* @return decoded bitmap or null if error is encountered |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@SuppressWarnings({"SuspiciousNameCombination", "WeakerAccess"}) |
|
|
|
@SuppressWarnings({"SuspiciousNameCombination", "WeakerAccess"}) |
|
|
|
@Nullable |
|
|
|
@Nullable |
|
|
|