Fixed
Status Update
Comments
wu...@google.com <wu...@google.com> #2
Hi, thanks for the request. Could you give us more information like which usecase will you need it? This will help us prioritize the task.
Thanks!
do...@gmail.com <do...@gmail.com> #3
This is for Image capture use case, when I implement ImageCapture.OnImageCapturedCallback, the onCaptureSuccess callback returns an ImageProxy. Now, this has a toBitmap method but will return an error since it is in '256' format which does not seem to be supported yet by toBitmap. Thanks for the reply
ka...@google.com <ka...@google.com>
ka...@google.com <ka...@google.com>
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
commit 2db85ccec1888fa83b051758bace4f0b85c4dfc5
Author: Kailiang Chen <kailianc@google.com>
Date: Wed May 17 16:01:20 2023
[CameraX] Add support to convert ImageProxy in JPEG format to Bitmap
Relnote: "Add ImageFormat.JPEG format support for ImageProxy.toBitmap(). If the JPEG byte array cannot be decoded, UnsupportedOperationException will be thrown."
Bug: b/282057603
Test: test on real device
Change-Id: I819581bc0cb6591133b1861d89e8ee67a8e7fd86
M camera/camera-core/src/androidTest/java/androidx/camera/core/internal/utils/ImageUtilDeviceTest.kt
M camera/camera-core/src/main/java/androidx/camera/core/ImageProxy.java
M camera/camera-core/src/main/java/androidx/camera/core/internal/utils/ImageUtil.java
https://android-review.googlesource.com/2594225
Branch: androidx-main
commit 2db85ccec1888fa83b051758bace4f0b85c4dfc5
Author: Kailiang Chen <kailianc@google.com>
Date: Wed May 17 16:01:20 2023
[CameraX] Add support to convert ImageProxy in JPEG format to Bitmap
Relnote: "Add ImageFormat.JPEG format support for ImageProxy.toBitmap(). If the JPEG byte array cannot be decoded, UnsupportedOperationException will be thrown."
Bug:
Test: test on real device
Change-Id: I819581bc0cb6591133b1861d89e8ee67a8e7fd86
M camera/camera-core/src/androidTest/java/androidx/camera/core/internal/utils/ImageUtilDeviceTest.kt
M camera/camera-core/src/main/java/androidx/camera/core/ImageProxy.java
M camera/camera-core/src/main/java/androidx/camera/core/internal/utils/ImageUtil.java
ka...@google.com <ka...@google.com>
ed...@gmail.com <ed...@gmail.com> #5
Ok.
edmilsonpereira990@gmail.com
Em qua, 7 de jun de 2023 13:46, <buganizer-system@google.com> escreveu:
edmilsonpereira990@gmail.com
Em qua, 7 de jun de 2023 13:46, <buganizer-system@google.com> escreveu:
pr...@google.com <pr...@google.com> #6
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.camera:camera-core:1.3.0-beta01
ed...@gmail.com <ed...@gmail.com> #7
Ok.
edmilsonpereira990@gmail.com
Em qua, 21 de jun de 2023 17:58, <buganizer-system@google.com> escreveu:
edmilsonpereira990@gmail.com
Em qua, 21 de jun de 2023 17:58, <buganizer-system@google.com> escreveu:
Description