Skip to content
Commit 65327c05 authored by Jernej Virag's avatar Jernej Virag
Browse files

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
parent d1575fb2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment