Commit Graph

1425 Commits

Author SHA1 Message Date
wiredfool
45138fec9b Added output checked tests for rotate with center and translate 2017-01-01 11:09:06 +00:00
wiredfool
7228de1491 test image 2016-12-31 19:31:02 +00:00
wiredfool
5fda1a803a Added resample target test 2016-12-31 19:30:26 +00:00
wiredfool
cc1ba56c28 Refactor tests 2016-12-31 19:12:39 +00:00
Marcus Brinkmann
90077b3975 Add center and translate option to Image.rotate. 2016-12-31 19:01:09 +00:00
wiredfool
5269828d3a Test: Relax WMF test condition, fixes #2323 2016-12-31 17:38:35 +00:00
wiredfool
c7df6287fa Merge pull request #2262 from wiredfool/zero_size
Allow 0 size images, Fixes #2259
2016-12-31 16:35:14 +00:00
wiredfool
20abc9cdfe Fix size check on expan for image_rotate 2016-12-31 13:31:51 +00:00
wiredfool
7d59183c1d Zero image size test 2016-12-31 13:19:29 +00:00
wiredfool
0a922b962f tests for basic operations on 0x0 images 2016-12-31 13:19:29 +00:00
wiredfool
69bea50810 Allow 0 size images, Fixes #2259 2016-12-31 13:19:29 +00:00
wiredfool
3d185ee857 added tests for sgi writing 2016-12-31 12:29:10 +00:00
wiredfool
95888466c8 Added correctness tests for opening SGI images 2016-12-30 22:20:46 +00:00
wiredfool
944a470a79 Merge pull request #2312 from wiredfool/pr_2298
List of individual frame durations for saving animated gifs. #2298
2016-12-27 12:00:40 +00:00
wiredfool
f36a04570f Merge pull request #2313 from wiredfool/pr_2196
Unified different GIF optimize conditions #2196, Test for #2196
2016-12-27 11:53:50 +00:00
wiredfool
915270ef6f test for issue #2195 2016-12-27 03:33:20 -08:00
wiredfool
e530f2a228 Added tuple option for durations 2016-12-27 03:04:37 -08:00
wiredfool
87092ad4f8 can pass list of integer to set different duration for each frame when saving GIF 2016-12-27 02:44:05 -08:00
wiredfool
80b78be21a Merge pull request #2199 from jdufresne/dep-olefile
Remove vendored version of olefile Python package in favor of upstream
2016-12-13 20:12:29 +00:00
wiredfool
55f7a736a4 Merge pull request #2234 from radarhere/print
Updated comments to use print as a function
2016-12-13 20:00:25 +00:00
wiredfool
9f711ea59a Merge pull request #2286 from hugovk/change-freetype2.7-epsilon
Increase epsilon for FreeType 2.7
2016-12-13 19:54:00 +00:00
wiredfool
86ff654487 Merge pull request #2279 from uploadcare/fast-assert_image_similar
Fast assert_image_similar
2016-12-13 19:52:50 +00:00
hugovk
acf68c835c Increase epsilon for FreeType 2.7 2016-12-12 15:16:43 +02:00
Hugo
e83479edf0 Merge pull request #2263 from wiredfool/tiff_bytesio
Fix for writing Tiff to BytesIO using libtiff
2016-12-09 11:04:41 +02:00
Alexander
9ee1f58215 fix I;16 mode 2016-12-07 05:16:10 +03:00
Alexander
ba92896a53 remove old version 2016-12-07 04:39:36 +03:00
Alexander
52c8e2050e replace test "1"-mode image 2016-12-07 03:09:13 +03:00
Alexander
8967a20ad7 test new assert_image_similar implementation 2016-12-07 03:07:20 +03:00
wiredfool
aa247dbb60 Moving tests requiring libtiff to test_file_libtiff 2016-12-05 08:25:10 -08:00
Hugo
837d583b15 Merge pull request #2275 from wiredfool/issue_2272
Update Maxblock heuristic (fixes #2272)
2016-12-04 21:38:22 +02:00
Hugo
03b9d718fc Merge pull request #2274 from wiredfool/issue_2258
Fix for 2 bit palette corruption #2258
2016-12-04 12:27:40 +02:00
wiredfool
d983aead74 Py3 bytes 2016-12-03 14:49:44 +00:00
wiredfool
7e2bd28a7c Fix for issue 2272, CMYK images miss the heuristic for the maxblock buffer scaling 2016-12-03 14:45:45 +00:00
wiredfool
4b57345683 Refactor random image 2016-12-03 14:45:05 +00:00
wiredfool
88c43b61b7 Fix for #2258, 2 bit palette images corrupted 2016-12-03 14:08:59 +00:00
wiredfool
86606022c5 Merge pull request #2193 from SemanticsOS/lambdafu/libtiff-icc
Update info.icc_profile when using libtiff reader.
2016-12-03 13:44:26 +00:00
wiredfool
8a68bd6daa Merge pull request #2270 from ChristopherHogan/test_ifd_rational_save
Test: Fix bug in test_ifd_rational_save
2016-12-03 13:38:02 +00:00
Chris Hogan
711e95e361 Fix bug in test_idf_rational_save
A boolean wrapped in parentheses is still a boolean, not a tuple.
The comma makes this an actual tuple so it can be iterated on in
the for loop.
2016-12-01 11:10:03 -06:00
hugovk
ed4c0a58e8 Test case for #2266 2016-11-30 16:36:04 +02:00
hugovk
4061c3836c Created with IrfanView 2016-11-30 14:38:04 +02:00
hugovk
4d6c2d5601 Test saving 256x256 icons 2016-11-30 14:37:50 +02:00
wiredfool
e0b957240b Merge pull request #2087 from cskau/patch-1
Fixes TIFFImagePlugin ICC color profile saving.
2016-11-29 19:33:52 +00:00
glexey
0116c9240e EMF: support negative bounding box coordinates (#2249)
* EMF: support negative bounding box coordinates

Similar to placeable WMF, bounding box coordinates
should be interpreted as signed integer, otherwise
opening EMF file with negative (x0,y0) fails.

* Basic load tests for WMF and EMF formats

* WMF/WMF tests: just test open(), not load()

Not sure why load() fails on Debian build. Well, at least we can test
open().

* WMF/EMF: Unpack signed integers using unpack()

* WMF/EMF: Compare to reference PNG rendering

* EMF/WMF comparison: use assert_image_similar()

* Use similarity epsilon 0.5 for WMF, as vector rendering looks different across Windows platforms

* Trigger rebuild
2016-11-27 16:03:51 +00:00
Andrew Murray
67be3a9eda Added future print_function imports 2016-11-26 11:05:56 +11:00
Andrew Murray
4ed31e8ef7 Updated comments to use print as a function 2016-11-26 11:02:44 +11:00
homm
bcb6d606a2 fix typo! 2016-11-24 04:07:06 +03:00
homm
d4784bffb2 return copy of the image if size matches 2016-11-24 03:30:36 +03:00
homm
9947794ccd fix spelling error 2016-11-24 03:09:34 +03:00
wiredfool
ce3432f5f4 Test for issue #2206 2016-11-23 06:24:40 -08:00
Hugo
6fa7f3fc67 Merge pull request #2241 from wiredfool/sunrle
SunImagePlugin fixes
2016-11-23 16:10:17 +02:00