Skip to content

Releases: skgmn/CameraXX

v0.7.1

01 Oct 13:32

Choose a tag to compare

cameraxx-composable

  • Fixed that CameraPreview operated abnormally when it had been removed and re-added.

v0.7.0

29 Sep 00:36

Choose a tag to compare

cameraxx

  • Added ImageAnalysis.analyze<T>(suspend (ImageProxy) -> T): Flow<T> to manage the lifecycle of ImageProxy better.
  • Added some utility functions: ImageProxy.toByteArray(), ImageProxy.toBitmap()
  • Changed some return types
    • Changed the return type of CameraInfo.getTorchState() from Flow<Int> to StateFlow<Int?>
    • Changed the return type of CameraInfo.getZoomState() from Flow<ZoomState> to StateFlow<ZoomState?>
    • Changed the return type of PreviewView.listenPreviewStreamState() from Flow<PreviewView.StreamState> to StateFlow<PreviewView.StreamState?>
  • Fixed ConcurrentModificationException for ImageAnalysis.analyze() (but now it's deprecated)

v0.6.1

15 Sep 10:54

Choose a tag to compare

cameraxx-composable

  • Published to Maven Central
  • Add some kdocs
  • Now provides sources artifact

v0.6.0

15 Sep 10:53

Choose a tag to compare

cameraxx

  • Published to Maven Central
  • Behavior changes of ImageAnalysis.analyze()
    • Previously it used shareIn inside the method to provide a convenient way to be collected from many collectors, but it's now caller's responsibility. I misunderstood the behavior of shareIn.
    • Now it automatically closes undelivered ImageProxy instances.
  • Add some kdocs
  • Now provides sources artifact

cameraxx-bindingadapter

  • Published to Maven Central
  • Add some kdocs
  • Now provides sources artifact

v0.5.0

02 Sep 11:00

Choose a tag to compare

cameraxx

  • Added PreviewView.listenPreviewStreamState()
  • Changed to use org.jetbrains.kotlinx:kotlinx-coroutines-guava instead of implementing myself

cameraxx-composable

  • Added focus metering feature
  • Added PreviewStreamState
  • Migrated from Flow to State for all state classes
  • Optimizations to reduce recompositions
  • Moved the pinchZoomEnabled parameter into ZoomState

cameraxx-bindingadapter

  • Removed app:zoomRatio, app:torchOn binding adapter attributes
  • Now Camera can be retrieved through app:onCameraRetrieved

v0.4.0

29 Aug 11:57

Choose a tag to compare

cameraxx

  • changed Context.getProcessCameraProvider() not to cancel ListenableFuture even though coroutine is cancelled

cameraxx-compose

  • add parameter scaleType
  • add parameter implementationMode
  • support pinch zoom
  • add ZoomState for zoom
  • add TorchState for torch

cameraxx-bindingadapter

  • add app:zoomRatio as two-way binding attribute
  • add app:torchOn as two-way binding attribute
  • add app:onCameraInfoRetrieved to get camera info

v0.3.0

23 Aug 12:27

Choose a tag to compare

  • Support Jetpack Compose
  • Fix blink bug on same Preview
  • Add samples

v0.1.0

07 Aug 23:43

Choose a tag to compare

First release