Commit Graph

1159 Commits

Author SHA1 Message Date
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
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
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
wiredfool
fb853267f9 Merge pull request #1748 from radarhere/path
Fixed bug when saving to a non-existent path using pathlib
2016-03-14 09:48:53 -07:00
Marcus Brinkmann
87603266ad Give much more details about ICC profiles. 2016-03-05 04:40:24 +01:00
Andrew Murray
b959a25f09 Fixed bug when saving to a non-existent path using pathlib 2016-02-27 13:10:50 +11:00
hugovk
39e407dbc1 Failing test for #1744 2016-02-24 15:06:28 +02:00
Hugo
cfc195f15c Merge pull request #1723 from radarhere/show
Removed unused Tests files
2016-02-09 14:49:14 +02:00
Andrew Murray
779f7e129e Removed unused Tests files 2016-02-09 22:06:44 +11:00
Andrew Murray
ce3e59414c Fixed typo [ci skip] 2016-02-09 22:02:43 +11:00
Eric Soroos
717720b051 Fix for buffer overflow in TiffDecode.c CVE-2016-0740 2016-02-04 08:13:11 -08:00
wiredfool
893a40850c FLI overflow error fix and testcase CVE-2016-0775 2016-02-04 08:13:02 -08:00
wiredfool
1723dc2d07 Merge pull request #1714 from wiredfool/resample-overflow
Overflow in resample.c, with tests
2016-02-04 07:52:59 -08:00
wiredfool
95a25a0d82 input parameter filtering 2016-02-04 07:19:54 -08:00
wiredfool
ff7962c3be test for #1711 2016-02-04 07:19:54 -08:00
wiredfool
c581d8abfb added __main__ clause 2016-02-04 04:24:47 -08:00
wiredfool
ae453aa18b PCD decoder overruns the shuffle buffer, Fixes #568 2016-02-02 05:46:26 -08:00
wiredfool
850f6dca06 added tests for ftex 2016-02-01 05:23:37 -08:00
Jerome Leclanche
58c59bbad0 Add a loader for the FTEX format from Independence War 2: Edge of Chaos 2016-02-01 05:23:37 -08:00
wiredfool
c09ba49f0f Merge pull request #1647 from radarhere/multiline
Allowed text method to pass on multiline_text method specific arguments
2016-02-01 01:18:51 -08:00
wiredfool
7d1df35089 Merge pull request #1686 from radarhere/seek
Allow ImageSequence to seek to zero
2016-01-31 09:08:09 -08:00
wiredfool
3f1834a67b Merge pull request #1649 from radarhere/iterator
Modified ImageSequence Iterator class to be an iterator
2016-01-31 09:06:43 -08:00
wiredfool
99e88c7796 Merge pull request #1653 from wiredfool/gbr
Fixed long broken GBRImagePlugin
2016-01-31 09:03:03 -08:00