Commit Graph

8801 Commits

Author SHA1 Message Date
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
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
Andrew Murray
b1cc7df7ba Only close exclusive fp on Image __exit__ 2019-03-06 21:55:32 +11:00
Hugo
8194677516
Merge pull request #3670 from hugovk/add-azure
Add Azure Pipelines CI
2019-03-06 09:20:46 +02:00
Andrew Murray
1bdb5dc917 Added DIB saving and loading through Image open 2019-03-06 13:59:07 +11:00
Andrew Murray
636ad68f5e Read Photoshop resolution data 2019-03-06 10:28:45 +11:00
Andrew Murray
319d6f2af9 Restored newline at end of file 2019-03-06 08:06:19 +11:00
Andrew Murray
7d3b8e8cea
Merge branch 'master' into mime-types 2019-03-06 07:08:00 +11:00
Hugo
975fccafc7
Merge pull request #3688 from radarhere/mime
Add PPM mime types
2019-03-05 19:04:11 +02:00
Hugo
353d2a34ed
Update src/PIL/PpmImagePlugin.py
Co-Authored-By: radarhere <3112309+radarhere@users.noreply.github.com>
2019-03-06 00:01:56 +11:00
pirate486743186
1d63703c54 removing dib extension 2019-03-04 15:05:14 +01:00
pirate486743186
44659faaed Merge branch 'mime-types' of https://github.com/pirate486743186/Pillow into mime-types 2019-03-04 14:54:09 +01:00
pirate486743186
3dd14368ff
Merge pull request #2 from radarhere/mime-types
Tests
2019-03-04 14:43:12 +01:00
Andrew Murray
4be51c46eb Added mime types 2019-03-04 18:17:12 +11:00
Andrew Murray
873603701f Added .pnm test 2019-03-04 15:51:07 +11:00
Andrew Murray
8f34621c14 Added mime type tests 2019-03-04 15:51:07 +11:00
pirate486743186
a62c825922 adding some missing mime types and extensions
for reference

https://en.wikipedia.org/wiki/BMP_file_format
https://en.wikipedia.org/wiki/ICO_(file_format)
https://en.wikipedia.org/wiki/Pcx
https://en.wikipedia.org/wiki/Netpbm_format
https://en.wikipedia.org/wiki/.tga
2019-03-04 15:44:39 +11:00
Andrew Murray
1ba774ae7f Added ImageOps exif_transpose method 2019-03-04 11:49:39 +11:00
Andrew Murray
0e9e3dd304 Update CHANGES.rst [ci skip] 2019-03-03 21:48:00 +11:00
Andrew Murray
6b91f8c12d
Merge pull request #3682 from hugovk/deprecate-python2.7
Document Python 2.7 will be dropped on 2020-01-01
2019-03-03 21:42:37 +11:00
Hugo
571aca6610
Merge pull request #3685 from radarhere/file
Renamed file variable
2019-03-03 10:15:33 +02:00
Hugo
28f695db23
Merge pull request #3686 from radarhere/releasing
Use pillow-wheels update script
2019-03-03 10:14:43 +02:00
Andrew Murray
525eaf7389 Renamed file variable 2019-03-03 13:02:00 +11:00
Andrew Murray
e8fedc8589 Use pillow-wheels update script [ci skip] 2019-03-03 12:56:30 +11:00
Hugo
30965818af
Merge pull request #3684 from fchapoton/patch-1
Use the already imported io
2019-03-02 23:38:00 +02:00
Frédéric Chapoton
e514fbbbb1
use the already import io
instead of importing again from io (lgtm suggestion)
2019-03-02 21:19:57 +01:00
Hugo
f77bb0a15a Document Python 2.7 will be dropped in Pillow 7.x 2019-03-02 20:27:54 +02:00
Hugo
e96e2791cb Fix RST warning: 'Unknown target name' 2019-03-02 20:27:35 +02:00
Hugo
5f1b6bf752 Document Python 2.7 will be dropped on 2020-01-01 2019-03-02 20:18:52 +02:00
Hugo
b84ab5223d
Merge pull request #3680 from jdufresne/isinstance
Merge multiple isinstance() calls to one
2019-03-02 19:25:47 +02:00
Hugo
e721c2b07e
Merge pull request #3679 from radarhere/version
Document removal of VERSION
2019-03-02 18:32:35 +02:00