nulano
92ff050bf9
replace PyUnicode_GetLength and PyUnicode_ReadChar with macro versions
2019-06-25 22:14:48 +10:00
nulano
6aba1df727
update Py_UNICODE to Py_UCS4
2019-06-25 22:14:47 +10:00
Hugo
ea570a8c5b
Merge pull request #3915 from radarhere/typo
...
Fixed typos
2019-06-25 11:41:58 +03:00
Andrew Murray
78d4b7f03e
Fixed typos
2019-06-25 05:54:14 +10:00
David Nisson
5857bf8243
corrected args to reflect change to tile descriptors
2019-06-23 13:49:41 +10:00
David Nisson
cb7d9bcd12
updated TIFF tile descriptors to match current decoding functionality
2019-06-23 13:49:15 +10:00
Andrew Murray
9c37933bb9
Added CMYK;16B and CMYK;16N unpackers
2019-06-23 11:56:17 +10:00
Andrew Murray
7bb16de81c
Fixed crash when loading non-font bytes
2019-06-23 11:53:01 +10:00
Andrew Murray
db4916849e
Added ImageSequence all_frames
2019-06-23 07:34:39 +10:00
Andrew Murray
e0cbfb2708
Consider I;16 pixel size when drawing
2019-06-23 07:33:55 +10:00
Hugo
c1b3adbd1b
Merge pull request #3910 from radarhere/xrgb
...
Changed bits value for XRGB unpackers
2019-06-22 10:24:24 +03:00
Andrew Murray
ea0f1c6b06
Do not presume that the last glyph has the max x value
2019-06-19 22:32:01 +10:00
Andrew Murray
fb38296230
Change direction of y offset in calculating size
2019-06-19 22:30:50 +10:00
Hugo
be1b551bfc
Add __main__.py to output basic format and support information ( #3870 )
...
Add __main__.py to output basic format and support information
2019-06-19 14:42:34 +03:00
Andrew Murray
da16b7ec45
Added variation font support
2019-06-19 20:27:49 +10:00
Hugo
2334040f56
Merge pull request #3860 from olt/non-ascii-quotes
...
Replace non-ascii quotes from docstring
2019-06-19 12:03:14 +03:00
Hugo
f338eae128
Merge pull request #3869 from radarhere/imageshow
...
Do not down-convert if image is LA when showing with PNG format
2019-06-19 09:26:15 +03:00
Hugo
a9c05c7aa0
Merge pull request #3759 from radarhere/psd_frames
...
Improve handling of PSD frames
2019-06-19 09:15:13 +03:00
Hugo
ac6185ca15
Merge pull request #3897 from radarhere/load
...
Improved ICO and ICNS loading
2019-06-19 09:09:34 +03:00
Hugo
7f86ed1e52
Merge pull request #3896 from radarhere/preview
...
Changed Preview application path so that it is no longer static
2019-06-19 09:08:24 +03:00
Hugo
67496177cb
Merge pull request #3893 from radarhere/bmp_definitions
...
Simplified definition of BMP values
2019-06-19 09:06:46 +03:00
Hugo
b2714854a3
Merge pull request #3856 from radarhere/ttb
...
Corrected ttb text positioning
2019-06-19 09:01:51 +03:00
Andrew Murray
8e2f5ddd1d
Changed bits value for XRGB unpackers
2019-06-18 20:43:02 +10:00
Andrew Murray
b262378632
Added mode descriptors for all I;16 modes
2019-06-12 20:33:00 +10:00
Andrew Murray
848a629784
Do not down-convert if image is LA when showing with PNG format
2019-06-12 20:17:23 +10:00
Andrew Murray
e1e35cc819
Close internal fp when closing and deleting
2019-06-12 20:12:03 +10:00
Andrew Murray
ea02e28adb
Use _min_frame in ImageSequence.Iterator
2019-06-12 20:11:51 +10:00
Andrew Murray
72d5ee3bfa
Do not close exclusive fp after loading
2019-06-12 20:10:28 +10:00
Andrew Murray
f7d7a80b5b
Allow ICNS to change size as ICO does
2019-06-12 02:19:58 +10:00
Andrew Murray
02a2e93703
Do not load ICO if already loaded
2019-06-12 02:18:54 +10:00
Andrew Murray
1ecabd83d5
Changed Preview application path so that it is no longer static
2019-06-12 02:17:07 +10:00
Andrew Murray
ca3e210313
Simplified definition of values
2019-06-12 02:12:57 +10:00
Andrew Murray
982f4509eb
Fixed typo
2019-06-12 02:09:26 +10:00
Hugo
a986fed5b4
Format code with Black ( #3733 )
...
Format code with Black
2019-06-11 16:24:09 +03:00
Andrew Murray
231fe4d62a
Revert "Merge pull request #3838 from radarhere/i_conversion"
...
This reverts commit 41f3e7c8bd
, reversing
changes made to 2f84482871
.
2019-06-11 19:28:31 +10:00
Hugo
cab7231e2a
Format with Black
2019-06-11 11:42:05 +03:00
Hugo
169455f924
Refactor and format with Black
2019-06-10 18:22:46 +03:00
Hugo
53a7e35004
Format with Black
2019-06-10 18:22:46 +03:00
Andrew Murray
ca52e46105
Use raqm version checking
2019-06-07 05:51:40 +10:00
Andrew Murray
54c83f61bd
Check for raqm version function
2019-06-07 05:51:40 +10:00
Andrew Murray
1c1447f563
Corrected ttb text positioning
2019-06-07 05:51:40 +10:00
Andrew Murray
a94bd13791
Changed string formatting
2019-06-06 21:36:38 +10:00
Andrew Murray
4fa3016d67
Changed string formatting
...
Co-Authored-By: Hugo <hugovk@users.noreply.github.com>
2019-06-06 21:36:38 +10:00
Andrew Murray
77630f000c
Updated resampling filter error messages
2019-06-06 21:36:38 +10:00
Hugo
169961649d
Merge pull request #3848 from radarhere/pa
...
Improved palette handling for LA and PA modes
2019-06-05 22:32:44 +03:00
Hugo
41f3e7c8bd
Merge pull request #3838 from radarhere/i_conversion
...
Improved I mode conversion
2019-06-05 22:23:35 +03:00
Hugo
2f84482871
Merge pull request #3811 from radarhere/warnings
...
Fixed several warnings
2019-06-05 22:22:14 +03:00
Elliott Sales de Andrade
560bc33731
Pass the correct types to PyArg_ParseTuple.
...
Py_ssize_t uses the 'n' specifier, not 'i'.
2019-05-31 05:55:13 -04:00
Jon Dufresne
1008644dd6
Add __main__.py to output basic format and support information
...
To help debug and show supported formats, users can run:
$ python -m PIL
to get basic format and support information about the installed version
of Pillow.
The new feature works as follows:
$ python -m PIL
--------------------------------------------------------------------
Pillow 6.1.0.dev0
--------------------------------------------------------------------
Python modules loaded from .../Pillow/src/PIL
Binary modules loaded from .../Pillow/src/PIL
--------------------------------------------------------------------
Python 3.7.3 (default, May 11 2019, 00:38:04)
[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)]
--------------------------------------------------------------------
--- PIL CORE support ok
--- TKINTER support ok
--- FREETYPE2 support ok
--- LITTLECMS2 support ok
--- WEBP support ok
--- WEBP Transparency support ok
--- WEBPMUX support ok
--- WEBP Animation support ok
--- JPEG support ok
--- OPENJPEG (JPEG2000) support ok
--- ZLIB (PNG/ZIP) support ok
--- LIBTIFF support ok
--- RAQM (Bidirectional Text) support ok
--------------------------------------------------------------------
BLP
Extensions: .blp
Features: open
--------------------------------------------------------------------
BMP image/bmp
Extensions: .bmp
Features: open, save
--------------------------------------------------------------------
BUFR
Extensions: .bufr
Features: open, save
--------------------------------------------------------------------
…
2019-05-27 18:44:04 -07:00
Hugo
65f3e44b3d
Use dict comprehension in ImageFileDirectory_v2.named() ( #3872 )
...
Use dict comprehension in ImageFileDirectory_v2.named()
2019-05-27 09:48:20 +03:00
Jon Dufresne
3f2cfb2027
Remove unnecessary numeric placeholders from format strings
...
Unnecessary since Python 2.7.
2019-05-26 07:07:32 -07:00
Jon Dufresne
42602b69f3
Use dict comprehension in ImageFileDirectory_v2.named()
2019-05-26 06:56:01 -07:00
Oliver Tonnhofer
26b71998d2
Replace non-ascii quotes from docstring [ci skip]
2019-05-24 12:09:14 +02:00
Jakub Kulík
e073f4add0
Fix SPARC memory alignment issues in Pack/Unpack functions
2019-05-20 14:25:27 +02:00
Hugo
feb413e0f3
Merge pull request #3836 from radarhere/ico_size
...
Handle unexpected ICO image sizes
2019-05-12 19:53:48 +03:00
Andrew Murray
d830cca5ca
Handle unexpected ICO image sizes
2019-05-12 20:44:29 +10:00
Andrew Murray
e131fa22e2
Fixed reading and saving for TIFF and IM in PA mode
2019-05-11 14:43:48 +10:00
Andrew Murray
e9c0cf61f3
Fixed palette for LA and PA mode when pickling
2019-05-11 14:43:00 +10:00
Konstantin Kopachev
5e5ff10f09
Fix bits value for RGB;16N unpackers
2019-05-10 08:07:01 +10:00
Andrew Murray
d30264ec5d
Fixed warnings that variable may be uninitialized
2019-05-09 12:24:27 +10:00
Andrew Murray
1897897921
Fixed several comparison warnings
2019-05-09 12:10:17 +10:00
Andrew Murray
8a035b8c5d
Improved I mode conversion
2019-05-08 21:58:33 +10:00
Hugo
45df9ad882
Merge pull request #3807 from radarhere/code
...
Simplified code
2019-05-04 18:57:40 +03:00
Hugo
fdcacb6978
Merge pull request #3817 from radarhere/cmyk_16l
...
Added reading of CMYK;16L TIFF images
2019-05-04 18:53:13 +03:00
Hugo
d45a13d9cb
Merge pull request #3827 from radarhere/pdf
...
Fixed dimensions of 1-bit PDFs
2019-05-04 18:52:16 +03:00
Hugo
9a25b3c797
Merge pull request #3825 from radarhere/path
...
Fixed opening mmap image through Path on Windows
2019-05-04 18:51:23 +03:00
Hugo
c3ed8cc67e
Fixed ImageDraw arc gaps ( #3824 )
...
Fixed ImageDraw arc gaps
2019-05-04 18:50:07 +03:00
Hugo
5090bba463
Merge pull request #3822 from radarhere/tile
...
Expand GIF to include frames with extents outside the image size
2019-05-04 18:46:49 +03:00
Hugo
3e4b1a91ad
Merge pull request #3814 from radarhere/getimage
...
Fixed ImageTk getimage
2019-05-04 18:39:29 +03:00
Hugo
ab9a25d623
Merge pull request #3791 from radarhere/int
...
Fixed bug in decoding large images
2019-05-04 16:15:32 +03:00
Hugo
0ccd887431
Merge pull request #3771 from radarhere/app13
...
Fixed reading APP13 marker without Photoshop data
2019-05-04 16:10:02 +03:00
Andrew Murray
69b733d5f1
Changed if to elif
2019-05-04 23:05:07 +10:00
Andrew Murray
683768095b
Removed duplicate code
2019-05-04 23:05:07 +10:00
Andrew Murray
568fc2def8
Simplified code
2019-05-04 23:05:07 +10:00
Hugo
82d9ea5eac
Merge pull request #3808 from radarhere/imagegrab
...
Added option to include layered windows in ImageGrab.grab on Windows
2019-05-04 16:00:43 +03:00
Hugo
9077a80e3e
Merge pull request #3787 from radarhere/raqm
...
Fixed raqm layout bug
2019-05-04 15:57:13 +03:00
Hugo
e20228a60a
Merge pull request #3785 from radarhere/unicode_path
...
Fixed loading font with non-Unicode path on Windows
2019-05-04 15:55:50 +03:00
Andrew Murray
ae1f7c4f50
Fixed dimensions of 1-bit PDFs
2019-05-04 16:27:34 +10:00
Andrew Murray
691df96734
Fixed opening mmap image through Path on Windows
2019-05-04 15:00:49 +10:00
Andrew Murray
21c7fd251c
Fixed arc gaps
2019-05-03 23:37:37 +10:00
Andrew Murray
53433419e9
Merge pull request #3801 from kerisquared/rm-pythonh
...
Remove Python.h where not needed
2019-05-03 07:48:11 +10:00
Andrew Murray
27134340f5
Expand GIF to include frames with extents outside the image size
2019-05-02 19:46:17 +10:00
Andrew Murray
ca0d28eae5
Added reading of CMYK;16L TIFF images
2019-05-01 00:42:30 +10:00
Andrew Murray
d9a3878937
Fixed ImageTk getimage
2019-04-29 23:43:13 +10:00
Andrew Murray
70038bd71e
Added option to include layered windows in ImageGrab.grab on Windows
2019-04-26 20:09:46 +10:00
Hugo
9a71c9517e
Apply suggestions from code review
...
Co-Authored-By: radarhere <3112309+radarhere@users.noreply.github.com>
2019-04-24 06:16:15 +10:00
Andrew Murray
93b96a6cb8
Improved documentation
2019-04-21 23:27:31 +10:00
Pete Couperus
8473ada61b
Remove Python.h where not needed.
2019-04-18 22:48:32 -07:00
Andrew Murray
ca1cf59251
Changed decode buffer size to Py_ssize_t
2019-04-15 17:33:28 +10:00
Hugo
caf7af6a04
Merge pull request #3790 from radarhere/numpy_bool
...
Fix numpy bool bug
2019-04-15 09:55:44 +03:00
Warren Weckesser
4edfee3118
Make import from _util a relative import.
2019-04-14 14:54:36 -04:00
Andrew Murray
73cb0ce15f
Fixed numpy bool bug
2019-04-13 00:25:59 +10:00
Andrew Murray
b742d1511e
Fixed raqm layout bug
2019-04-11 15:36:33 +10:00
Andrew Murray
4e6aa7d6d3
Fixed loading font with non-Unicode path on Windows
2019-04-10 07:04:59 +10:00
Riley Lahd
5fb36d2de4
Merge branch 'master' of https://github.com/python-pillow/Pillow
2019-04-09 08:24:52 -06:00
Riley Lahd
7443e6d36b
Clean up disposal flag check
2019-04-09 08:23:59 -06:00
Andrew Murray
2274c2afc7
Fixed reading APP13 marker without Photoshop data
2019-04-05 20:02:45 +11:00
Andrew Murray
5a2ecd13dd
6.1.0.dev0 version bump
2019-04-02 15:31:07 +11:00
Andrew Murray
4f3b44960f
Resolved segfaults
2019-04-02 09:25:27 +11:00
Andrew Murray
8aaf7ff731
6.0.0 version bump
2019-04-01 22:46:08 +11:00