Commit Graph

1683 Commits

Author SHA1 Message Date
Alex Clark ☺
b4aca4dbeb Merge pull request #548 from wiredfool/mktemp
Fix for insecure use of tempfile.mktemp
2014-03-14 19:12:49 -04:00
wiredfool
1e331e3e6a Removed tempfile.mktemp, fixes CVE-2014-1932 CVE-2014-1933, debian bug #737059 2014-03-14 15:56:41 -07:00
wiredfool
dfe6fff10f Eliminating warning for possibly uninitialized variable use 2014-03-14 14:23:44 -07:00
wiredfool
ac52886da1 Fixed compilation errors on linux, ref #547 2014-03-14 11:35:23 -07:00
Alastair Houghton
68fd58a7e2 Initialize handles_eof (oops). 2014-03-14 17:25:38 +00:00
Alastair Houghton
6840278b7d Removed print statement. 2014-03-14 16:49:29 +00:00
Alastair Houghton
efd47ce63b Added documentation for JPEG 2000. 2014-03-14 16:39:09 +00:00
Alastair Houghton
646f0c21e5 Updated CHANGES file. 2014-03-14 16:38:50 +00:00
Alastair Houghton
5853d2aed0 Add a couple of unpackers. 2014-03-14 16:38:30 +00:00
Alastair Houghton
168acabcb0 Fixed some warnings. 2014-03-14 16:38:07 +00:00
Alastair Houghton
9a1b6966b5 Added precinct size option. Also added the jp2klib_version symbol on the _imaging module. 2014-03-14 15:40:30 +00:00
Alastair Houghton
5cb73c94e9 Fixed some Windows issues. 2014-03-14 14:35:09 +00:00
Alastair Houghton
cb1f990a92 Added seek support to make writing jp2 files work. Also added support for directly using an fd rather than relying on the Python loop, if we have a real fd. 2014-03-14 11:21:08 +00:00
Alastair Houghton
61fb89ec54 Added a JPEG 2000 encoder. 2014-03-13 18:27:16 +00:00
Alastair Houghton
aea0ec56b2 Fixed a small bug. 2014-03-13 13:48:15 +00:00
Alastair Houghton
9a4bff722f Decode tile-by-tile; saves memory and means we don't need to buffer the entire image in the OpenJPEG opj_image. 2014-03-13 13:44:26 +00:00
Alastair Houghton
5b22b715ce Fixed some bugs. 2014-03-13 12:29:03 +00:00
Alastair Houghton
7dba77364a Fixed rounding. 2014-03-13 11:57:47 +00:00
Alastair Houghton
d6b8f0f666 Added a JPEG 2000 decoder based on OpenJPEG. 2014-03-13 11:46:47 +00:00
wiredfool
1a03ca9224 Merge pull request #541 from wiredfool/install-requirements
Added python-tk to Ubuntu/Debian requirements [skip ci]
2014-03-05 21:48:57 -08:00
wiredfool
53cc9d999f Added python-tk to Ubuntu/Debian requirements [skip ci] 2014-03-05 21:47:42 -08:00
wiredfool
414e887726 Merge Changes from Master 2014-03-04 22:43:19 -08:00
wiredfool
f8ce951a2d Merge Changes from master 2014-03-04 22:41:36 -08:00
wiredfool
0fc225c358 test for issue #434 2014-03-04 22:29:55 -08:00
wiredfool
226fd2e8a8 Changes updated 2014-03-04 22:29:27 -08:00
wiredfool
1706e59d1c cleanup tempfile 2014-03-04 22:02:22 -08:00
wiredfool
ae5bcb8e84 Test for issue #513 2014-03-04 22:02:03 -08:00
wiredfool
a77ee2d8c5 Fix test failure when optimizing the palette on mode L gifs 2014-03-04 21:44:32 -08:00
David Schmidt
6457eed2cb overwrite redundant Image palette with new ImageCore Palette after quantize, fixes #513 2014-03-04 21:44:32 -08:00
David Schmidt
232c175bd9 fixes #513 2014-03-04 21:44:32 -08:00
David Schmidt
93a8bc9bd3 * fix palette handling for converted gifs
* fix gif optimization
* better auto convert paramter for gif save
2014-03-04 21:44:32 -08:00
wiredfool
ad5609d200 updated changes 2014-03-03 23:09:35 -08:00
wiredfool
89cb3c7e85 Use even stride when saving odd sized .pcx files 2014-03-03 23:05:50 -08:00
wiredfool
a3371ee9fe Tests for issue #523 2014-03-03 23:05:50 -08:00
wiredfool
b0f8f49880 mixed 8 ch tabs + spaces -> spaces 2014-03-03 23:05:21 -08:00
wiredfool
fe5372c867 Debug Loging 2014-03-03 20:29:14 -08:00
wiredfool
05cd72f4f0 mixed 4/8 tabs+spaces -> 4 spaces, additional bracing 2014-03-03 20:28:34 -08:00
homm
68a64e8071 fix ImageColor.getcolor in cases:
- color is rgba, mode is RGB
- mode is LA
2014-03-03 16:10:34 +04:00
wiredfool
aa864f4ab4 Merge pull request #533 from wiredfool/fix_528
Fix for  transparency = 0 in PNG mode P images
2014-02-28 16:34:32 -08:00
wiredfool
7baaf296d2 Updated changes 2014-02-28 16:32:55 -08:00
wiredfool
0d453d9805 Added test for Palette transparency=0 2014-02-28 16:29:34 -08:00
wiredfool
b8942d4932 Merge pull request #531 from d-schmidt/patch-3
Doc fix -- Image.paste is in place. Fixes #529
2014-02-28 15:59:57 -08:00
David Schmidt
37f4aea0d0 fixes #529
doc fix
2014-02-25 09:56:49 +01:00
David Schmidt
f848993c89 fixes #528
Accept 0 as transparency value.
2014-02-25 09:50:42 +01:00
Alex Clark
f826114ce9 Update license info 2014-02-21 04:46:05 -05:00
Alex Clark
1d7bfa5a92 Wording [ci skip] 2014-02-19 18:39:20 -05:00
Alex Clark
05070b089f Add license info 2014-02-19 18:37:56 -05:00
Alex Clark
43dd0683ad Wording [ci skip] 2014-02-19 18:31:14 -05:00
wiredfool
36323d1140 Make ICO files work with the ImageFile.Parser interface, fixes #522 2014-02-16 20:58:06 -08:00
wiredfool
5ecec7db10 Move image to first xsize*bands bytes, rather than including padding if stride > xsize*bands, fixes #523 2014-02-15 22:41:02 -08:00