commit | 6398343e83b3fd11dd6536cf6f390a52c1e19d2e | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Aug 21 11:33:50 2013 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Fri Aug 23 12:19:19 2013 -0700 |
tree | fdb3b9d3c1ab6e4c0d59ae747e9b3e722ccf1ab0 | |
parent | bd3b902567b09379e1b62c60b3319ad82102efad [diff] |
Return EXIF thumbnails when available. Adds new ExifInterface method to extract the thumbnail range from a larger image file, and use that to return an AssetFileDescriptor. When decoding an AssetFileDescriptor thumbnail with offsets, read out the raw data entirely, since Skia uses lseek() aggressively. Bug: 10412208 Change-Id: I7906cdf82c0c3794cec7043c801a86f66efeb143