From c1114e2a540071902e8ad8ff9d3765fd54f32877 Mon Sep 17 00:00:00 2001 From: hMatoba Date: Wed, 3 Jan 2018 21:05:13 +0900 Subject: [PATCH 01/11] Add test for WebP. --- .gitignore | 3 +- piexif.pyproj | 10 ++ piexif/__init__.py | 1 + piexif/_webp.py | 350 +++++++++++++++++++++++++++++++++++++ tests/images/pil1.webp | Bin 0 -> 80 bytes tests/images/pil2.webp | Bin 0 -> 34 bytes tests/images/pil3.webp | Bin 0 -> 98 bytes tests/images/pil_rgb.webp | Bin 0 -> 34 bytes tests/images/pil_rgba.webp | Bin 0 -> 34 bytes tests/images/tool1.webp | Bin 0 -> 978 bytes tests/s_test.py | 64 ++++++- 11 files changed, 424 insertions(+), 4 deletions(-) create mode 100644 piexif/_webp.py create mode 100644 tests/images/pil1.webp create mode 100644 tests/images/pil2.webp create mode 100644 tests/images/pil3.webp create mode 100644 tests/images/pil_rgb.webp create mode 100644 tests/images/pil_rgba.webp create mode 100644 tests/images/tool1.webp diff --git a/.gitignore b/.gitignore index a52a765..23d0025 100644 --- a/.gitignore +++ b/.gitignore @@ -100,4 +100,5 @@ load_sample.py *.suo doc/_build/ run_coverage.bat -up2pypi.bat \ No newline at end of file +up2pypi.bat +out/ diff --git a/piexif.pyproj b/piexif.pyproj index 20c6cde..0c788fa 100644 --- a/piexif.pyproj +++ b/piexif.pyproj @@ -29,6 +29,7 @@ + @@ -46,6 +47,9 @@ + + Code + @@ -57,6 +61,12 @@ + + + + + +