Commit Graph

221 Commits

Author SHA1 Message Date
wiredfool
f8abb98ffd Merge from master 2013-10-22 16:05:18 -07:00
wiredfool
2c1e800836 added new VP8 mode for lossless reading of RGBA, fixes failing tests 2013-10-22 12:44:09 -07:00
wiredfool
27b1054b77 Tests for writing lossless RGB and RGBA images 2013-10-22 12:32:31 -07:00
wiredfool
6357b4707c String attr test case 2013-10-22 10:09:25 -07:00
wiredfool
758da6c581 whitespace error 2013-10-22 10:06:33 -07:00
Eric Soroos
8d21ce1df7 py3k 2013-10-21 22:53:35 +00:00
Eric Soroos
3128a76495 MM and II 16 bit integer tiffs pack/write properly using libtiff on bigendian platform 2013-10-21 22:37:20 +00:00
wiredfool
83bd3291db tests for the actual compression method of the compressed file 2013-10-21 09:29:51 -07:00
Eric Soroos
1945fecdb6 Tests for endian issues in decoding 16bit tif images 2013-10-21 05:19:52 +00:00
Eric Soroos
366f9a5f35 uint16 varies from platform to platform, <u2 is spefific 2013-10-19 03:30:02 +00:00
hugovk
c91bd27eec Add tests for rotated and non-rotated transposed font
Check the box size of an ImageFont.TransposedFont matches that of the original ImageFont.
2013-10-17 17:36:38 +03:00
Alex Clark ☺
55a0792815 Merge pull request #380 from wiredfool/lcms2
LCMS1 replaced with LCMS2
2013-10-16 09:09:15 -07:00
wiredfool
deb424c5cd working tests for LAB color conversions using ImagingCMS 2013-10-15 22:06:30 -07:00
wiredfool
1865a5c438 Shifting the midpoint of the ab channels to 128. unshifting back to signed int on pack 2013-10-15 22:06:30 -07:00
Seth VanHeulen
89b2653135 Added tests for new 16 bit raw unpackers 2013-10-15 14:10:11 -04:00
wiredfool
4458787f5e Back to RGBx format, 3 bands in 4 bytes. Tests for internal consistency 2013-10-14 22:47:27 -07:00
wiredfool
215b61aadf added lab->srgb and srgb->lab->srgb tests 2013-10-11 23:39:16 -07:00
wiredfool
ace78d0734 Lab is Uint, Int, Int. Tests failing 2013-10-11 23:31:47 -07:00
wiredfool
1c3932e89f Added LAB mode, core dumped 2013-10-10 23:27:34 -07:00
wiredfool
ac38d91a2d Well, now I know _why_ it's failing. We don't have a concept for LAB color 2013-10-10 23:02:33 -07:00
wiredfool
b506e2ad44 Fixed ability to create LAB profiles with color temperatures 2013-10-10 22:42:27 -07:00
wiredfool
9042f8c61f split tests, disable info difference tests 2013-10-10 22:16:56 -07:00
wiredfool
21697f676b Merge branch 'master' into tifftags 2013-10-08 21:34:02 -07:00
wiredfool
a91283061e Python3 fixes 2013-10-07 23:30:55 -07:00
wiredfool
0bded743f5 Additional test image 2013-10-07 23:14:46 -07:00
wiredfool
350cc702f1 Additional tests for reading and writing Tiff ImageFileDirectories 2013-10-07 23:01:15 -07:00
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
30e6c6d1ab Merge branch 'master' into tifftags 2013-10-02 22:30:01 -07:00
wiredfool
dbf47837ce Add arbitrary tags to tiff images using an ImageFileDirectory 2013-10-02 22:06:17 -07:00
wiredfool
c00a33f8a1 reduce text volume on failed test 2013-10-02 12:04:16 -07:00
wiredfool
13860addc4 versioning 2013-10-01 23:22:45 -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
wiredfool
2322619372 fixed deprecation warnings for tostring on array.array 2013-05-23 10:33:27 -07:00
David Schmidt
65266a7419 Update test_file_gif.py
remove warning
2013-05-23 20:02:19 +03:00
David Schmidt
dad5e86226 fix gif test, fix gif optimization for palette length < 3 2013-05-23 15:24:06 +02:00
Alex Clark ☺
a9fd1f4a94 Merge pull request #225 from wiredfool/pr224
Fix Image.fromarray with NumPy arrays: Supersedes PR #224
2013-05-23 05:51:58 -07:00
Alex Clark ☺
258cf5300d Merge pull request #191 from wiredfool/namespaced
Changes to put everything under the PIL namespace
2013-05-23 05:51:36 -07:00
wiredfool
94d9218dd0 enable warnings for test suite 2013-05-22 09:26:41 -07:00
wiredfool
b3752ca053 merge from master 2013-05-21 21:29:58 -07:00
Matt Davis
c3d6b05d10 Adding a test of fromarray that exercises the if strides is not None block. 2013-05-21 21:55:58 -04:00
Alex Clark ☺
1c3ff8857a Merge pull request #220 from wiredfool/weba_transparent
Transparent WebP Support, #204
2013-05-16 12:49:02 -07:00
wiredfool
37359369ce Code to ensure buffer space for exif write and jpeg_write_scanline calls, tests, corrected buffer length calculation 2013-05-14 22:29:31 -07:00
wiredfool
94239540db fixing deferring the rgba tests, whitespace 2013-05-13 22:21:52 -07:00
wiredfool
014ca1497d versions, feature checking 2013-05-13 21:28:18 -07:00
wiredfool
3273b0c4b9 Merge branch 'master' of https://github.com/euangoddard/Pillow into weba_transparent 2013-05-13 09:54:34 -07:00
wiredfool
310341cec7 merge from master 2013-05-13 09:17:52 -07:00
Euan Goddard
1344610a52 Added support for alpha transparent webp images #204 2013-05-13 17:01:42 +01:00
Alex Clark ☺
6599df461b Merge pull request #213 from mattip/master
add tests and fix for issue 212
2013-05-11 15:37:04 -07:00
Sandro Mani
e3f8395293 Fix test hardcoded for little endian 2013-05-07 23:55:48 +02:00
Matti Picus
6a942c3065 add assert to test 2013-05-07 23:49:45 +03:00
Matti Picus
af94b45cbc allow integer image resolution as well as rational 2013-05-07 23:33:21 +03:00
Matti Picus
5ca04bb728 a test that fails for images with integer resolution 2013-05-07 23:23:51 +03:00
wiredfool
44d97759af Merge pull request #209 from wiredfool/pr202
Fonts from Filelike Objects
2013-04-25 22:14:10 -07:00