Commit Graph

167 Commits

Author SHA1 Message Date
wiredfool
d2f1fa0e5f two additional tags for saving color images with libtiff 2013-11-05 20:49:09 -08:00
Alex Clark ☺
e3d85700b4 Merge pull request #390 from wiredfool/webp-lossless
Lossless WEBP Support
2013-10-24 03:08:24 -07:00
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
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