summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Jernej Virag <jernej@google.com> 2023-05-03 14:30:45 +0200
committer Jernej Virag <jernej@google.com> 2023-05-09 06:48:41 +0000
commit65327c05c4040a580edba906d8ac517a664d63fd (patch)
treea6bdd922ee84ce732bf5c1afdd6ae9c7dba3a4c6 /libs/androidfw/AttributeResolution.cpp
parentd1575fb2321ad848b15b064741762cf804721f92 (diff)
Add ability to decode only image information with ImageDecoder
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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions