Stephen Arthur
67a243d82d
Removing the one-line variable declare / assign to make appveyor happy
2016-05-22 18:50:42 -07:00
Stephen Arthur
8b572ade81
Found edge cases with custom qtables
...
And there was a lingering bug since the previous qtable unsigned char fix
(#1814 ) since the call to array.array was in another place, the roundtrip was no
longer equivalent.
That was a minor change, but the revised test wouldn't pass because saving an image
with one custom qtable automatically adds a second to it by the call to
jpeg_set_defaults.
With 1 or >2 custom tables, there is extra work we have to do due to that call.
2016-05-22 17:54:31 -07:00
wiredfool
faeb269e30
Revert "Fix for DIB/BMP images"
2016-04-19 16:37:29 +01: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
0e3caec317
Added Transparency mask unpacker for BMP files
2016-04-06 07:40:49 -07: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
wiredfool
a1f244343d
Fixed j2k integer overflow error on encode - CVE-2016-3076
2016-04-01 05:11:54 -07:00
zwhfly
4d147c16d3
Add Some Unpackers for 2/4 bpp Grayscale Format
...
As seen in some tiff image files.
2016-03-29 20:17:39 +08:00
Andrew Murray
a7c7aa171d
Updated redirected URLs
2016-02-11 18:51:36 +11:00
Eric Soroos
07a42363c4
change ifd entry to use uint following libtiff interface
2016-02-04 08:13:17 -08: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
Ned Williamson
4e0d9b0b97
fix integer overflow in Resample.c
2016-02-04 07:19:54 -08:00
wiredfool
ae453aa18b
PCD decoder overruns the shuffle buffer, Fixes #568
2016-02-02 05:46:26 -08:00
Andrew Murray
8f9b3a7372
Changed arcs, chords and pie slices to use floats
2015-12-09 00:28:52 +11:00
Andrew Murray
9a2903bf5b
Changed 32 bit to 32-bit and 64 bit to 64-bit
2015-10-15 00:49:03 +11:00
Hugo van Kemenade
00615df3b5
Merge pull request #1487 from radarhere/fix
...
Removed trailing whitespace
2015-10-12 11:06:11 +03:00
Andrew Murray
89fb9965ef
Capitalised Python and Pillow
2015-10-11 21:27:43 +11:00
Andrew Murray
6bd7e7f02d
Removed trailing whitespace
2015-10-11 21:24:35 +11:00
nu774
2be12dec2b
Don't use int to handle type
...
Couldn't accept handle values greater than 0x7FFFFFFF, which wasn't enough even on 32bit system, and completely wrong for 64bit.
2015-10-01 14:54:32 +01:00
Christoph Gohlke
e6733c813a
Disable compiler optimizations for topalette and tobilevel functions for all msvc versions
2015-08-28 23:15:56 -07:00
wiredfool
a92d737177
Merge pull request #1278 from wiredfool/winbuild
...
Windows Build/CI
2015-06-18 09:03:38 -07:00
wiredfool
d2e54d7973
Merge pull request #1255 from radarhere/polygon
...
Fixed polygon edge drawing
2015-06-17 18:18:36 -07:00
wiredfool
fd55099ffc
merge a year of master into winbuild
2015-06-10 12:49:07 -07:00
Andrew Murray
9e24ae023d
Fixed various typos
2015-06-08 01:17:49 +10:00
Andrew Murray
16261beeba
Fixed polygon edge drawing
2015-06-05 11:16:33 +10:00
Andrew Murray
3cd7f0e6f2
Removed unused variable in Jpeg2KEncode
2015-04-01 15:14:56 +11:00
wiredfool
4566a4dcbe
Merge pull request #1128 from hugovk/noise
...
Fix ImagingEffectNoise
2015-03-08 18:29:44 -07:00
hugovk
f1333617d5
Replace harcoded assumption of RAND_MAX with constant. It caused an infinite loop if RAND_MAX > 32767
2015-03-05 23:14:36 +02:00
hugovk
0b79c6e24a
Remove unreachable code (if 0)
2015-03-05 21:07:16 +02:00
wiredfool
b384a7f992
Merge pull request #1088 from bgilbert/opaque-RGBa
...
Fast path for opaque pixels in RGBa unpacker
2015-02-05 22:32:58 -08:00
immerrr
d41fed6732
Enable basic support for 'RGBa' raw encoding/decoding
2015-02-02 13:06:56 +03:00
Benjamin Gilbert
77b020b374
Special-case opaque pixels in RGBa unpacker
...
Avoid the expensive multiply and divide when the pixel is opaque.
On my system, this change gives a 5.76x speedup loading an opaque image
with this call:
PIL.Image.frombuffer('RGBA', (1000, 1000), buf, 'raw', 'RGBa', 0, 1)
2015-01-24 01:13:58 -05:00
Christoph Gohlke
9b8202203a
Use Py_ssize_t instead of ssize_t
2014-12-19 01:30:16 -08:00
Christoph Gohlke
b8fafdef69
Use Py_ssize_t instead of ssize_t
2014-12-19 01:28:21 -08:00
Christoph Gohlke
8fb8d2ec3a
Fix msvc compiler error
2014-12-15 14:44:12 -08:00
wiredfool
2d2293ba3b
Merge pull request #1028 from homm/resize-constants
...
Rename Image.ANTIALIAS to Image.LANCZOS
2014-12-03 16:14:29 -08:00
wiredfool
05b578e7f4
Fix for building on OSX/Clang.
2014-12-01 20:40:10 -08:00
homm
43d5d06ce4
rename Image.ANTIALIAS to Image.LANCZOS
2014-11-28 01:41:56 +03:00
wiredfool
e16ee15f2c
Merge pull request #997 from homm/replace-resize
...
Replace resize method
2014-11-27 10:26:48 -08:00
wiredfool
8a3302ba5d
Merge pull request #961 from homm/fast-box-blur
...
Merge Fast Gaussian Blur
2014-11-27 10:20:11 -08:00
homm
107b4a8b07
sharp alpha channel
...
resolve sharp endianness issues
2014-11-22 01:58:31 +03:00
homm
d0c419632e
resolve endianness issues
2014-11-21 21:53:13 +03:00
homm
bc0f896a47
rename Antialias and stretch to resample
2014-11-19 14:36:00 +03:00
homm
1a097d2e02
Merge commit 'e0b94d65bedb4a2124228aa579686a3ba2974d11' into replace-resize
2014-11-19 13:45:04 +03:00
homm
6078e6e1a7
this bug actually was in previous implementation too:
...
type switch default case was never achieved because special
images is in image8 pointers, not in image32
2014-11-19 03:15:24 +03:00
wiredfool
9d1fde0fff
Use __NO_INLINE__ instead of Py_DEBUG
2014-11-13 21:35:06 -08:00
wiredfool
112a4815f0
Fix compilation on debug versions of python
2014-11-13 15:53:51 -08:00
homm
aba798af25
replace resize implementation
2014-11-09 21:52:16 +03:00