Verify that AID respects exif orientation
Test: this
Add animated_webp.webp. It was created from animated.gif using ezgif.com
and 010 editor. It matches animated.gif except it:
- uses webp's lossy mode (quality of 90)
- is encoded with a rotation
- has exif data to rotate back
Draw it to a Canvas and verify that it approximately matches decoding
animated.gif to a Bitmap.
Update getAsFile to encode the resource to a File, even if a File with
that name already exists. Otherwise, this may return a File with the
wrong data. (This may have been triggered by the addition of a new
resource?)
Change-Id: I345a13d20776a007052d32e74fa42865b42f726d
3 files changed