Commit Graph

157 Commits

Author SHA1 Message Date
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
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
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
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