Commit Graph

8633 Commits

Author SHA1 Message Date
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
Jon Dufresne
9296e4f3a2 Merge multiple isinstance() calls to one 2019-03-02 08:24:08 -08:00
Andrew Murray
c1150a2d0f Document removal of VERSION (#3624) [ci skip] 2019-03-02 18:22:34 +11:00
Andrew Murray
95f77ef54a Update CHANGES.rst [ci skip] 2019-03-02 12:02:35 +11:00
Andrew Murray
57807e9ce2
Merge pull request #3624 from hugovk/rm-VERSION
Remove deprecated VERSION
2019-03-02 11:47:59 +11:00
Hugo
17bf2a3cbb
Update CHANGES.rst 2019-02-27 23:39:41 +02:00
Hugo
df6d429789
Merge pull request #3580 from jdufresne/bytes-warning
Fix 'BytesWarning: Comparison between bytes and string' in PdfDict
2019-02-27 23:38:45 +02:00
Hugo
d9f5f44799
Merge pull request #3632 from radarhere/thumbnail
Do not resize in Image.thumbnail if already the destination size
2019-02-27 23:37:20 +02:00
Hugo
b75210d824
Merge pull request #3572 from jdufresne/seek-constants
Replace .seek() magic numbers with io.SEEK_* constants
2019-02-27 23:30:27 +02:00
Hugo
2e374cf1ad
Merge pull request #3568 from jdufresne/isatty-bool
Make ContainerIO.isatty() return a bool, not int
2019-02-27 23:28:51 +02:00
Hugo
2f5f80f47e
Merge pull request #3563 from radarhere/transpose
Added support for I;16 modes for more transpose operations
2019-02-27 23:22:52 +02:00
Hugo
c31e00f112 Add Docker builds to Azure Pipelines 2019-02-24 18:00:23 +02:00
Hugo
b3151a9a09 Fix check-manifest 2019-02-24 18:00:09 +02:00
Hugo
409e810924 Lint with tox, like in Travis CI 2019-02-24 18:00:09 +02:00
Hugo
03fc6c05e8 Remove test jobs, keep lint 2019-02-24 18:00:09 +02:00
Hugo
1f6cc7a9a4 Trigger for all branches 2019-02-24 18:00:08 +02:00
Hugo
ac14c9d987 Add Azure Pipelines config from another project 2019-02-24 18:00:08 +02:00
Andrew Murray
bbfbda3d4f Added tests for unimplemented formats 2019-02-23 08:53:45 +11:00
Andrew Murray
148d320b40 Added reading of uncompressed RGB data 2019-02-23 06:44:06 +11:00