Commit Graph

228 Commits

Author SHA1 Message Date
Bruno Renié
e1e64904c7 Cleanup handling of ICC profile, more extensive testing 2014-01-19 19:09:40 +01:00
Bruno Renié
0348fcac51 Fix crash on save when icc_profile is None 2014-01-19 16:40:39 +01:00
Alex Clark ☺
d48f301d57 Merge pull request #423 from wiredfool/trns-png
Support for PNG tRNS header when converting from RGB->RGBA
2013-12-28 05:56:03 -08:00
wiredfool
aa1c0fdfb6 merge from master 2013-12-19 20:48:49 -08:00
wiredfool
543f96de61 Merge from master 2013-11-30 09:57:00 -08:00
nikmolnar
d030b4f48a Added a test for issue #421 2013-11-22 16:04:51 -08:00
wiredfool
b73ae9c27a Tests for 12bit tiff rawmode 2013-11-20 16:54:49 -08:00
Esteban Santana Santana
582d54d055 Test harness for EPS files.
We now have a test harness for EPS files. Two variants were created one for the default scale=1 and one where scale=2. These two tests are run against two different EPS files, one with zero for the start of the bounding box and one where this is not the case. PNG test renders are used to make sure the output match what we expect. Lastly the sample EPS files were generated using the included create_eps.gnuplot file and the gnuplot program on a Mac.
2013-11-20 00:43:10 -06:00
wiredfool
0ffc1a848a Renamed test tiff files to 16bit*. They are 12bit data in a 16bit format 2013-11-19 14:48:01 -08:00
wiredfool
63995459bc merge from master 2013-10-22 16:18:06 -07:00
Eric Soroos
1945fecdb6 Tests for endian issues in decoding 16bit tif images 2013-10-21 05:19:52 +00: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
wiredfool
4458787f5e Back to RGBx format, 3 bands in 4 bytes. Tests for internal consistency 2013-10-14 22:47:27 -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
0bded743f5 Additional test image 2013-10-07 23:14:46 -07:00
Christoph Gohlke
ada10a0ba4 Circumvent classification of pngtest_bad.png as malware 2013-09-27 16:35:37 -07:00
wiredfool
35c9f59c38 testcase for multiline text spacing 2013-09-24 14:23:17 -07:00
wiredfool
d67d4116b5 tests for issue #279 2013-07-10 22:24:11 -07:00
wiredfool
5b269a6ab7 small test image for I;16 => F conversion 2013-07-08 23:26:45 -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
Alexey Buzanov
a130c45990 add several TIFF decoders and encoders 2013-07-01 18:45:42 +04:00
David Schmidt
5303f0ea66 added tests to cover save of four different png transparencies 2013-03-26 11:24:07 +01:00
wiredfool
d678b97444 added write verification test 2013-03-19 13:49:01 -07:00
wiredfool
02931c4956 checking results of webp decoding 2013-03-19 13:40:10 -07:00
Christoph Gohlke
bd55b8baf1 End 'Make' tag with null byte 2013-03-14 16:06:20 -07:00
wiredfool
00de0292ac test suite for g4 tiff images 2013-03-11 22:04:22 -07:00
Brian Crowell
718dbcc8ca py3k: Provide the missing pngtest_bad.png.base64
This is from http://scary.beasts.org/security/CESA-2004-001.txt. This was
missing from Gohlke's tests. With this file, I see 79 tests and no failures
on my setup from 2.6/2.7.
2013-01-10 08:46:41 -06:00
Brian Crowell
ad784eb808 py3k: Import Christoph Gohlke's test suite
This is Christoph Gohlke's test suite from his personal PIL package found
at http://www.lfd.uci.edu/~gohlke/pythonlibs/.

This is just to bring it in as a separate commit. Future commits will align
it with Pillow.
2013-01-10 08:46:39 -06:00