Commit Graph

1179 Commits

Author SHA1 Message Date
rr-
c5278000c5 Skip libimagequant's test if it's unavailable 2016-05-06 21:40:18 +02:00
rr-
eb354be7c4 Add method=Image.LIBIMAGEQUANT for quantize() 2016-05-05 21:39:16 +02:00
Andrew Murray
abdb848f08 Corrected filename [ci skip] 2016-05-03 19:23:51 +10:00
wiredfool
460480dfff Merge pull request #1847 from wiredfool/revert-1813-DIB_1293
Revert 1813, plus second commit with tweaks.
2016-05-01 10:31:59 +01:00
wiredfool
9f9436ca2f Merge pull request #1871 from wiredfool/pr_1865
Rebased #1865 + 1 test
2016-05-01 10:14:08 +01:00
wiredfool
219182beda Removing all transparency from the test image 2016-04-29 21:17:18 +01:00
wiredfool
6f92a5adc0 Tests for LA mode looping through numpy 2016-04-29 21:03:24 +01:00
Pierrick Koch
cb42a9383c [Test] image array add LA mode test 2016-04-29 21:03:24 +01:00
wiredfool
300ca19a0e Merge pull request #1854 from hugovk/tga-rle
Test TGA RLE file
2016-04-29 20:44:32 +01:00
wiredfool
12bfb976bd Merge pull request #1855 from hugovk/tiff-lzw
Test TIFF with LZW compression
2016-04-29 20:43:10 +01:00
hugovk
11b8faa761 Update RTD links https://blog.readthedocs.com/securing-subdomains/ 2016-04-28 09:35:03 +03:00
hugovk
839c52b96a flake8 2016-04-21 23:13:10 +03:00
hugovk
311f8f6a9c Test TIF with LZW compression 2016-04-21 23:10:08 +03:00
hugovk
272f11434d convert hopper.png -compress lzw hopper_lzw.tif 2016-04-21 23:09:23 +03:00
hugovk
31b05ce82c Test TGA RLE file 2016-04-21 17:49:35 +03:00
hugovk
ad299ea9e5 Source: https://samples.libav.org/image-samples/TGA/ 2016-04-21 17:49:25 +03:00
wiredfool
0507192a77 Comments for future people investigating alpha and DIBs 2016-04-19 20:36:25 +01:00
wiredfool
23a847c532 Fixes DIB image format
The DIB image format uses the 40 byte BMP header, followed by 3 masks
for RGB channels. We were reading 4 masks, consuming the first pixel
of the image.

Mostly fixes issue #1293. Remaining issue: alpha channel is actually a
transparency mask.
2016-04-19 20:17:36 +01:00
wiredfool
ae6c46ea92 Merge pull request #1814 from thebostik/jpeg-qtable-bounds
Valid range for baseline jpeg qtables 0 to 255
2016-04-19 16:48:03 +01:00
wiredfool
faeb269e30 Revert "Fix for DIB/BMP images" 2016-04-19 16:37:29 +01:00
wiredfool
4dfc0f905d Merge pull request #1830 from radarhere/grammar
Minor grammar fix
2016-04-19 16:02:30 +01:00
Andrew Murray
ecd4d5a186 Removed unused test helper 2016-04-17 23:27:09 +10:00
Andrew Murray
4737944197 Minor grammar fix 2016-04-14 00:08:44 +10:00
Stephen Arthur
5025bdd487 Valid range for baseline jpeg qtables 1 to 255, fixed overflow from using signed char instead of unsigned char. added test 2016-04-07 09:35:14 -07:00
Stephen Arthur
b38c32ed70 Valid range for baseline jpeg qtables 0 to 255, fixed issue from using signed char instead of unsigned char. added test 2016-04-06 18:47:51 -07:00
Hugo
a7c678b1af Merge pull request #1813 from wiredfool/DIB_1293
Fix for DIB/BMP images
2016-04-06 19:58:25 +03:00
wiredfool
e84e02997c Fixes DIB image format
The DIB image format uses the 40 byte BMP header, followed by 3 masks
for RGB channels. We were reading 4 masks, consuming the first pixel
of the image.

Mostly fixes issue #1293. Remaining issue: alpha channel is actually a
transparency mask.
2016-04-06 07:38:41 -07:00
Hugo
cee9a1da15 Merge pull request #1805 from wiredfool/verify-struct-error
Catch struct.errors when verifying png files
2016-04-04 16:38:29 +03:00
wiredfool
90378c8298 Fixing compatibility with the truncated images tests 2016-04-04 05:40:37 -07:00
wiredfool
bb91abe147 Merge pull request #1804 from hugovk/tiff_jpegtables
Test saving TIFF with JPEGTables tag
2016-04-04 05:06:53 -07:00
wiredfool
77da73c90f Catch struct.errors when verifying png files, convert to SyntaxErrors, fixes #1755 2016-04-04 03:08:22 -07:00
wiredfool
ca5e22b59a Merge pull request #1794 from radarhere/spiderimageplugin
SpiderImagePlugin: raise an error when seeking in a non-stack file
2016-04-04 02:07:41 -07:00
Andrew Murray
dabb68a61e Added tests 2016-04-04 18:48:21 +10:00
hugovk
ba817af569 Merge 2016-04-03 23:08:49 +03:00
wiredfool
14f3b45f46 Merge pull request #1789 from zwhfly/tiff
Add Support for 2/4 bpp Tiff Grayscale Images
2016-04-03 12:07:48 -07:00
Andrew Murray
26bf1937c7 Added warning for deprecated as_dict method 2016-04-03 23:41:28 +10:00
Hugo
77b5a531c6 Merge pull request #1625 from radarhere/health
Health fixes
2016-04-03 10:58:35 +03:00
wiredfool
a1f244343d Fixed j2k integer overflow error on encode - CVE-2016-3076 2016-04-01 05:11:54 -07:00
Andrew Murray
677b958a7f Health fixes 2016-04-01 21:49:30 +11:00
wiredfool
26970c5e21 Merge pull request #1782 from radarhere/compression
Different frames may have different compression types
2016-04-01 03:38:18 -07:00
wiredfool
39fb128898 Merge pull request #1772 from radarhere/copy
Added __copy__ method to Image
2016-04-01 03:35:21 -07:00
wiredfool
0fb65753ce Merge pull request #1780 from wiredfool/j2k_exception
Fix for UnboundLocalError with corrupt jpeg2k file
2016-04-01 03:29:09 -07:00
zwhfly
124bee0485 Add Tests for 2/4 bpp Tiff Grayscale Images
Including inverted and/or bit-order-reversed formats.
2016-03-29 20:19:22 +08:00
Geka
33fff9e4a8 Add test for multipage tiff file with different compression 2016-03-27 22:19:04 +11:00
wiredfool
0c4131bf67 Fixing tests on windows/32bit 2016-03-26 15:01:26 -07:00
wiredfool
43b4b8d664 Fix for UnboundLocalError with corrupt jpeg2k file 2016-03-26 13:41:00 -07:00
wiredfool
f65fcf7274 Fixing the tests on py 3.x 2016-03-16 10:13:51 +00:00
Andrew Murray
bb0d312de7 Added __copy__ method to Image 2016-03-16 20:23:51 +11:00
wiredfool
c6ec3be0d6 Fix for integer overflow in path.c 2016-03-15 19:56:40 +00:00
wiredfool
b550b2a9e4 Merge pull request #1756 from SemanticsOS/lambdafu/pycms
Give much more details about ICC profiles.
2016-03-14 10:05:49 -07:00