Commit Graph

8964 Commits

Author SHA1 Message Date
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
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