Commit Graph

11580 Commits

Author SHA1 Message Date
Hugo
77d1c609f3
Merge pull request #3635 from radarhere/eps
Changed EPS subprocess stdout from devnull to None
2019-03-11 21:15:18 +02:00
Hugo
bf60b5371f
Update CHANGES.rst 2019-03-11 21:12:57 +02:00
Hugo
cae87c76d6
Merge pull request #3489 from kkopachev/tiff-old-jpeg
Add reading old-JPEG compressed TIFFs
2019-03-11 21:12:12 +02:00
Hugo
3fc77da70a
Adjust header formatting
[CI skip]
2019-03-11 21:11:37 +02:00
Konstantin Kopachev
4215d7621f
Add release notes 2019-03-11 10:44:55 -07:00
Konstantin Kopachev
28c6f555a2
Merge remote-tracking branch 'remotes/upstream/master' into tiff-old-jpeg 2019-03-11 10:38:02 -07:00
Riley Lahd
c57bfb9a7b Merge branch 'master' of https://github.com/python-pillow/Pillow 2019-03-11 08:26:48 -06:00
Riley Lahd
583d731a96 Fix line indents for linting 2019-03-11 08:02:04 -06:00
Riley Lahd
3b74281a2f Fix line lengths and init background out of loop 2019-03-11 07:55:37 -06:00
Riley Lahd
215cdfd0d5 Merge branch 'master' of https://github.com/sircinnamon/Pillow 2019-03-11 07:42:41 -06:00
Riley Lahd
3b1a1fbfd2 Create background image for calculating gif deltas 2019-03-11 07:41:14 -06:00
Hugo
06ed005ed4
Update CHANGES.rst 2019-03-11 15:06:52 +02:00
Hugo
25e40dd978
Merge pull request #3674 from radarhere/png_exif
Added EXIF support for PNG
2019-03-11 15:06:28 +02:00
Andrew Murray
8ddcc1de52 Load EXIF from PNG where eXIf chunk is after first IDAT chunk 2019-03-11 21:20:18 +11:00
Hugo
044d4bdbc5
Update CHANGES.rst 2019-03-11 12:20:04 +02:00
Andrew Murray
365d5e541a Added EXIF support 2019-03-11 21:19:36 +11:00
Hugo
63f31ee380
Merge pull request #3699 from glasnt/topic/quantize-dither
Add option to set dither param on quantize
2019-03-11 12:18:32 +02:00
Hugo
5da0d5beee
Merge pull request #3673 from radarhere/dds
Add reading of DDS uncompressed RGB data
2019-03-11 12:04:47 +02:00
Hugo
c88ada1dcd
Merge pull request #3672 from radarhere/tiff_tag_type
Corrected length of Tiff BYTE tags
2019-03-11 11:59:29 +02:00
Hugo
578dec9896
Merge pull request #3707 from radarhere/typo
Fixed typo
2019-03-11 08:02:18 +02:00
Andrew Murray
878244bf38 Fixed typo 2019-03-11 11:13:39 +11:00
Andrew Murray
5277eec027 Added support for RGBA bitfield compression 2019-03-09 11:11:32 +11:00
Katie McLaughlin
0b63579f39 Add option to set dither param on quantize
Default the option to `1`, as per original setting
2019-03-09 10:36:13 +11:00
Sir Cinnamon
c73da62ce9 Ensure disposal key exists before checking 2019-03-08 16:34:44 -07:00
Riley Lahd
4a2be2af2d Create gif frame delta by subtracting 0x0 image if disposal is mode 2 2019-03-08 15:56:31 -07:00
Riley Lahd
1f6d1be7fc Ensure disposal key exists before checking 2019-03-08 12:57:53 -07:00
Riley Lahd
ae194096d0 Allow correct delta generation for GIFs with disposal 2 (Fixes #3665) 2019-03-08 12:48:22 -07:00
Hugo
22ae782320
Update CHANGES.rst 2019-03-08 14:57:16 +02:00
Hugo
68adce2dd1
Merge pull request #3691 from radarhere/dib
Added DIB saving and loading through Image open
2019-03-08 14:56:29 +02:00
Andrew Murray
2764031762 Changed PIL references to Pillow [ci skip] 2019-03-08 21:04:23 +11:00
Andrew Murray
1c1bad3186 Document the DIB image format [ci skip] 2019-03-08 21:04:01 +11:00
Andrew Murray
58e60510e6
Merge pull request #3549 from radarhere/mimetype
Improved get_format_mimetype logic
2019-03-08 10:06:47 +11:00
Alex Clark
b20a27aed1
Merge pull request #3702 from radarhere/security
Use Tidelift's security process
2019-03-07 17:22:16 -05:00
Hugo
d0172a08dd
Update src/PIL/MpoImagePlugin.py
Co-Authored-By: Glandos <bugs-github@antipoul.fr>
2019-03-07 13:22:20 +01:00
Hugo
85cc21b563
Update src/PIL/MpoImagePlugin.py
Co-Authored-By: Glandos <bugs-github@antipoul.fr>
2019-03-07 13:22:14 +01:00
Hugo
4ff47705a7 Fix Flake8 2019-03-07 22:59:12 +11:00
Hugo
2dcf6cafb2 Fix Flake8 2019-03-07 22:59:12 +11:00
Glenn Maynard
87e54b47ab GIF: Fix the previous frame not always being decoded in _seek.
_seek checked whether self.im is None, but if we've decoded a frame
and then seeked back to 0, self.im will be set to the previously
decoded frame.  Instead, check if self.tile has data, which means
_seek set up a tile to decode and it hasn't been decoded yet.
2019-03-07 22:59:12 +11:00
Glenn Maynard
b5806c7e15 GIF: Clear to transparency rather than background if available.
Background dispose should prefer the transparency color over the
background color, if there is one.  This matches other decoders
and makes transparent_dispose.gif decode correctly.
2019-03-07 22:59:12 +11:00
Glenn Maynard
df10a72000 GIF: Clear the buffer to the correct initial color before decoding frame 0.
This ensures that transparent pixels in the first frame data clear to
transparency and not to some previously decoded frame.
2019-03-07 22:59:12 +11:00
Glenn Maynard
68b844de74 GIF: Handle GIF transparency in the decoder.
Remove the special case for disposal_method == 1 and handle GIF
transparency by telling the decoder the transparent index.
2019-03-07 22:59:12 +11:00
Glenn Maynard
35c6ebd750 GIF: Support transparency in the native decoder.
Allow the transparency index to be passed to the native decoder.  If not
-1, pixels with this index will be left at their previous value.

This only adds the decoder support and isn't active yet.
2019-03-07 22:56:45 +11:00
Glenn Maynard
e44f567780 Add a test for an image that works with other GIF decoders.
This test is fixed by the next commits.
2019-03-07 22:56:45 +11:00
Andrew Murray
0248dac24a Use Tidelift's security process [ci skip] 2019-03-07 20:38:21 +11:00
Hugo
6c38329c49
Merge pull request #3700 from radarhere/show
Updated list of Unix utilities used to show an image
2019-03-07 09:01:11 +02:00
Andrew Murray
b29365e8a0 Updated list of Unix utilities used to show an image [ci skip] 2019-03-07 15:24:27 +11:00
Andrew Murray
9ce09bfc85
Merge pull request #3696 from hugovk/update-docs
Update docs: macOS saves to a temp PNG before showing
2019-03-07 13:57:20 +11:00
Glandos
5d8b14fc9e Cache EXIF information
In case we need to call _getexif from the outside, since it's already called while parsing.
cache the result in self.info. This is compatible with other file using _getexif, like WebP.
2019-03-06 22:05:48 +01:00
Hugo
6f24eda48a Document format limitations of ImageStat.Stat.extrema and recommend more efficient Image.getextrema 2019-03-06 17:49:25 +02:00
Hugo
2edab165a1 Since #2527, macOS saves to a temp PNG before showing 2019-03-06 15:57:58 +02:00