Add ability to decode only the image size with ImageLoader

Add methods to be able to read the image size without decoding the full image.

Bug: 283082473
Test: atest ImageLoaderTest
Change-Id: I9c5c7f7fd08b17b56dc6adf1ac173e8561bf8c13
2 files changed