Releases: pvasa/cameraview-ex
Releases · pvasa/cameraview-ex
Release v3.5.7-alpha
fixes #232
Release v3.5.5-alpha
Bug fixes
- Fix empty data for RGBA_8888 output type
- Fix incorrect output format for continuous frames mode
Release v3.5.4-alpha
- Improve size fallback mechanism for continuous frame and single capture modes.
- Use requested
output format
instead ofImageReader::class
to fetch list of supported output sizes fromStreamConfigurationMap
. This was a bug as when fetching this list using ImageReader class, it only returns list forImageFormat.PRIVATE
which might be different than actual output format.
Release v3.5.3-alpha
- Fix incorrect cropping for non standard image size and orientation when images are pre-rotated
- Fix texture cropping for non standard preview size in landscape mode
Release v3.5.2-alpha
- Fix video recording bug
New apis:
- cameraId - String id of currently opened camera device
- cameraIdsForFacing - SortedSet of string ids of camera devices for selected facing
- nextCamera() - Open next camera in sequence of sorted camera ids for current facing
Updated apis:
- start(cameraId) - Start now accepts an optional string cameraId to manually select which camera id to open. If nothing passed, first (default system) camera will be opened for selected facing
- app:facing AND cameraView.facing - Both now accepts a new facing value
external
in xml andModes.Facing.FACING_EXTERNAL
for in code usage. This facing open any external camera available and falls back toModes.Facing.FACING_BACK
if there is no external camera
Release v3.5.1-alpha
- Fix incorrect output size for cropped images.
- Fix incorrect output format for RGBA type
Release v3.5.0-alpha
-
New apis:
- continuousFrameSize (type: Size)
Set preferred (not guaranteed) output frame size for continuous frames mode - singleCaptureSize (type: Size)
Set preferred (not guaranteed) output image size for single capture mode
- continuousFrameSize (type: Size)
-
Updated apis:
- setPreviewFrameListener(..) -> setContinuousFrameListener(..)
-
Decide orientation based on aspect ratio. For eg., x:y (landscape) and y:x (portrait) now generates different preview/output orientation independent of device/screen orientation.
-
Improve image processing for RGBA_8888 format outputs
-
Use Google's exif implementation as a part of library to avoid external dependency on support ExifInterface lib
-
Support custom sized continuous frames and single captures different from aspect ratio and best/highest size
-
Bug fixes
-
Performance and stability improvements
Release v3.4.3
Release v3.4.2
- Move sampleApp to separate project
- Migrate sampleApp to AndroidX
- Setup local maven repo to build library module (legacy support packages and AndroidX are not compatible under same project)
- Bug fixes
Release v3.4.1
- Bug fixes