Commit Graph

142 Commits

Author SHA1 Message Date
Alex Clark ☺
056690792e Merge pull request #364 from wiredfool/premultiply
Alpha Premultiplication support for transform and resize
2013-10-07 06:38:11 -07:00
wiredfool
7077cd18af Tests for premultiplication on transform/resize 2013-10-04 12:55:25 -07:00
wiredfool
c00a33f8a1 reduce text volume on failed test 2013-10-02 12:04:16 -07:00
wiredfool
a0d7e72cbb don't write the test image 2013-09-30 22:47:22 -07:00
wiredfool
7546e1fb17 Py3. sigh 2013-09-30 22:39:17 -07:00
wiredfool
46c58560ba adding memset test 2013-09-30 22:39:17 -07:00
wiredfool
2afdc3776d quad test, with blank space test 2013-09-30 22:39:17 -07:00
wiredfool
2241f744d9 extents test 2013-09-30 22:39:17 -07:00
wiredfool
5e897341c6 Added mesh transform test 2013-09-30 22:39:17 -07:00
Alex Clark ☺
41b1021ffe Merge pull request #354 from wiredfool/test_numpy
Py3 fixes
2013-09-30 17:10:28 -07:00
wiredfool
05d0aa65f1 python2 fixes. sigh. 2013-10-01 00:05:55 +00:00
wiredfool
2855449414 Py3k fixes 2013-10-01 00:01:35 +00:00
wiredfool
f6e1313337 Made linespacing test more forgiving of font rendering differences 2013-09-30 16:41:11 -07:00
wiredfool
ca35a9d65d tests for img -> numpy.array 2013-09-30 14:10:58 -07:00
wiredfool
753a3266e8 resolving shortened url 2013-09-30 10:09:35 -07:00
wiredfool
660b1a98aa test for 16bit tiffs, issue #273 2013-09-30 10:09:35 -07:00
Alex Clark ☺
2d4fec1cfb Merge pull request #341 from cgohlke/patch-4
TST: fix TypeError: string argument expected, got 'bytes' on Py3
2013-09-28 06:14:00 -07:00
Christoph Gohlke
fb80d5b267 Circumvent classification of pngtest_bad.png as malware 2013-09-27 16:55:19 -07:00
Christoph Gohlke
ada10a0ba4 Circumvent classification of pngtest_bad.png as malware 2013-09-27 16:35:37 -07:00
Christoph Gohlke
86345d08d0 TST: fix TypeError: string argument expected, got 'bytes' on Py3 2013-09-27 15:51:53 -07:00
wiredfool
ae6eb8733a actually cleaning 2013-09-24 14:23:43 -07:00
wiredfool
35c9f59c38 testcase for multiline text spacing 2013-09-24 14:23:17 -07:00
Vytis Banaitis
febfd1e124 Python3 fix. 2013-08-20 17:09:22 +03:00
Vytis Banaitis
dbf40a0124 Catch truncated zTXt errors. 2013-08-20 15:17:17 +03:00
Joaquín Cuenca Abela
c68044bf7f Fix IOError when saving progressive JPEGs.
when the jpeg encoder sees the flags optimize or progressive (or progression)
it will write the full image in one shot.

The bufsize needs to be big enough to hold the entire image. The current heuristic
is that the entire compressed image will fit in width * height bytes, but this
heuristic is only applied to save operations with the flag "optimize" and not to
save operations with the flag "progressive".

This patch fixes this oversight.

(Btw, it will probably be a good idea to have a loop that retries with a bigger
bufsize in case this guess is not big enough.)
2013-08-02 14:36:46 +02:00
Yoav Weiss
37cb2413d5 Fix imagecolor test issue 2013-07-30 20:37:28 +02:00
Yoav Weiss
c117dcae34 Add RGBA support to ImageColor 2013-07-30 16:43:40 +02:00
wiredfool
d67d4116b5 tests for issue #279 2013-07-10 22:24:11 -07:00
Alex Clark ☺
2ed47b8096 Merge pull request #277 from wiredfool/tiff_16_bit
Tiff 16 bit
2013-07-09 03:28:46 -07:00
wiredfool
5b269a6ab7 small test image for I;16 => F conversion 2013-07-08 23:26:45 -07:00
wiredfool
993e075c0d Add conversions from I;16 to F to retain 16 bit precision 2013-07-08 23:21:41 -07:00
wiredfool
c575dff007 ignore high ascii characters in string.whitespace 2013-07-08 22:16:25 -07:00
Bernardo Heynemann
b4735f7829 Adding support for metadata in webp images.
Pillow now uses the webpmux library to envelop the webp images in RIFF. This allows for easy support of exif and icc_profile metadata.

Also included tests that verify compatibility with jpeg for exif and icc_profile metadata.

If the user does not have webp with webpmux enabled, pillow will fall back to the previous approach, meaning no exif or icc_profile metadata will be read or written to.
2013-07-04 18:04:07 -03:00
Alex Clark ☺
1693a21bc5 Merge pull request #269 from megabuz/master
move test_adobe_deflate_tiff to libtiff test file
2013-07-02 03:37:34 -07:00
Alexey Buzanov
bacaf26f20 move test_adobe_deflate_tiff to libtiff test file 2013-07-02 13:49:43 +04:00
Alex Clark ☺
fd98b0cceb Merge pull request #268 from megabuz/master
Add several TIFF decoders and encoders
2013-07-01 09:14:43 -07:00
Alexey Buzanov
df0e214d46 hide tiff warnings 2013-07-01 19:48:21 +04:00
Alexey Buzanov
a130c45990 add several TIFF decoders and encoders 2013-07-01 18:45:42 +04:00
Chris Bailey
08d0ec1e93 Generalizing pterk's ZeroDivisionError fix for 1px images 2013-07-01 12:36:46 +01:00
Alex Clark ☺
3207bf372a Merge pull request #266 from cgohlke/remove-test_imagegl
Remove useless ImageGL module
2013-07-01 03:32:27 -07:00
Christoph Gohlke
f042fd6af3 remove useless ImageGL module 2013-06-30 20:39:12 -07:00
Christoph Gohlke
3e87da96bd Don't skip 'import site' on initialization when running tests for inplace builds 2013-06-30 18:43:35 -07:00
Alex Clark
172dae9e35 Fixes #262
Apply patch from @arfrever to resolve Tests/test_imagefont.py tests leave font.png
2013-06-30 18:47:02 -04:00
Alex Clark
bb1b3a532c Cleanup WS, courtesy of @Arfrever
find * -type f "-(" -name "*.bdf" -o -name "*.c" -o -name "*.h" -o -name "*.py" -o -name "*.rst" -o -name "*.txt" "-)" -exec sed -e "s/[[:space:]]*$//" -i {} \;
2013-06-30 18:42:19 -04:00
Alex Clark ☺
19ad775140 Merge pull request #243 from kostya0shift/master
Better support for ICO files
2013-06-29 16:02:11 -07:00
Peter van Kampen
ad0a96c3fa add test & comment 2013-06-23 15:22:31 +02:00
kostya0shift
78565ea3f1 Test for ICO corrected 2013-06-05 21:38:20 +04:00
wiredfool
aad417dcbe Merge pull request #229 from wiredfool/warnings
Fixing and Suppressing warnings revealed in #227
2013-05-24 08:36:57 -07:00
Alex Clark ☺
5c11e27a97 Merge pull request #228 from d-schmidt/master
working gif optimization
2013-05-24 05:59:23 -07:00
wiredfool
ab0fe89131 Supressing ResourceWarnings for unclosed files in the test suite. Revert me when fixed 2013-05-23 10:44:09 -07:00