From da3e9ad894379713cbb66779136ca6877ccac7dd Mon Sep 17 00:00:00 2001 From: Leon Scroggins III Date: Fri, 26 Jan 2018 15:48:26 -0500 Subject: Make SkAndroidCodec (optionally) respect origin Bug: b/63909536 ImageDecoder will respect the origin, but BitmapFactory will maintain its current behavior of not respecting it. Add an option to respect it. In addition, add support for reading the EXIF data from a WEBP. This seems to be an uncommon use case, but is occasionally used when converting from a JPEG. Add 8 WEBPs, all converted (with cwebp) from their analogous JPEG files already checked in. Change-Id: I38afca58c86fa99ee9ab7d1dc83aaa4f23132c11 Reviewed-on: https://skia-review.googlesource.com/95300 Reviewed-by: Derek Sollenberger Commit-Queue: Leon Scroggins --- resources/images/orientation/1.webp | Bin 0 -> 2628 bytes resources/images/orientation/2.webp | Bin 0 -> 2888 bytes resources/images/orientation/3.webp | Bin 0 -> 2810 bytes resources/images/orientation/4.webp | Bin 0 -> 2820 bytes resources/images/orientation/5.webp | Bin 0 -> 2890 bytes resources/images/orientation/6.webp | Bin 0 -> 2884 bytes resources/images/orientation/7.webp | Bin 0 -> 2766 bytes resources/images/orientation/8.webp | Bin 0 -> 2864 bytes 8 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 resources/images/orientation/1.webp create mode 100644 resources/images/orientation/2.webp create mode 100644 resources/images/orientation/3.webp create mode 100644 resources/images/orientation/4.webp create mode 100644 resources/images/orientation/5.webp create mode 100644 resources/images/orientation/6.webp create mode 100644 resources/images/orientation/7.webp create mode 100644 resources/images/orientation/8.webp (limited to 'resources') diff --git a/resources/images/orientation/1.webp b/resources/images/orientation/1.webp new file mode 100644 index 0000000000..5b613d66ac Binary files /dev/null and b/resources/images/orientation/1.webp differ diff --git a/resources/images/orientation/2.webp b/resources/images/orientation/2.webp new file mode 100644 index 0000000000..77e9e201be Binary files /dev/null and b/resources/images/orientation/2.webp differ diff --git a/resources/images/orientation/3.webp b/resources/images/orientation/3.webp new file mode 100644 index 0000000000..aad50feb2a Binary files /dev/null and b/resources/images/orientation/3.webp differ diff --git a/resources/images/orientation/4.webp b/resources/images/orientation/4.webp new file mode 100644 index 0000000000..19e60cee35 Binary files /dev/null and b/resources/images/orientation/4.webp differ diff --git a/resources/images/orientation/5.webp b/resources/images/orientation/5.webp new file mode 100644 index 0000000000..cb48e2ed18 Binary files /dev/null and b/resources/images/orientation/5.webp differ diff --git a/resources/images/orientation/6.webp b/resources/images/orientation/6.webp new file mode 100644 index 0000000000..2298968aaa Binary files /dev/null and b/resources/images/orientation/6.webp differ diff --git a/resources/images/orientation/7.webp b/resources/images/orientation/7.webp new file mode 100644 index 0000000000..7a9f11f4c9 Binary files /dev/null and b/resources/images/orientation/7.webp differ diff --git a/resources/images/orientation/8.webp b/resources/images/orientation/8.webp new file mode 100644 index 0000000000..353eb41bac Binary files /dev/null and b/resources/images/orientation/8.webp differ -- cgit v1.2.3