+24.2 KiB
Loading image diff...
+80
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This creates a @hide API which only retrieves ImageInfo object without
continuing the decode of full image. It mirrors
BitmapOptions.inJustDecodeBounds behaviour and allows checking
dimensions and color space configuration of images without proceeding to
full decode (if able).
Bug: 280572656
Test: atest android.graphics.ImageDecoderTest
android.graphics.cts.ImageDecoderTest
Change-Id: I704ec6c41d76f655222da7ee322e3b0e4954533d