Andrew Murray
6a83d5b239
Merge pull request #4114 from radarhere/tiff_size
...
Removed deprecated setting of TIFF image sizes
2019-10-05 02:33:08 +10:00
Hugo van Kemenade
0a8f029971
Merge pull request #4113 from radarhere/version
...
Removed outdated VERSION comment
2019-10-03 22:56:12 +03:00
Hugo van Kemenade
d479572158
Changed condition to use DEBUG as a boolean ( #4112 )
...
Changed condition to use DEBUG as a boolean
2019-10-03 15:38:46 +03:00
Andrew Murray
d6ae0a99a7
Removed deprecated setting of TIFF image sizes
2019-10-03 22:12:28 +10:00
Hugo van Kemenade
7821b34924
Merge branch 'master' into rm-deprecated-qt
2019-10-03 14:14:00 +03:00
Andrew Murray
3cd7d9e4a2
Removed outdated VERSION comment
2019-10-03 20:54:55 +10:00
Andrew Murray
f61af2fed0
Merge pull request #4107 from hugovk/rm-deprecated-PILLOW_VERSION
...
Remove deprecated PILLOW_VERSION
2019-10-03 20:52:48 +10:00
Andrew Murray
1e6eac40fc
Changed condition to use DEBUG as a boolean
2019-10-03 20:23:49 +10:00
Andrew Murray
f92f429317
Merge pull request #1730 from radarhere/frombuffer_args
...
Changed default frombuffer raw decoder args
2019-10-02 19:25:46 +10:00
Andrew Murray
91306dfac5
Merge pull request #4009 from radarhere/tifftags
...
Corrected tag types
2019-10-02 19:18:56 +10:00
Andrew Murray
94a64ea09c
7.0.0.dev0 version bump
2019-10-02 06:42:14 +10:00
Hugo
f898ccbaf8
Remove deprecated PILLOW_VERSION
2019-10-01 14:43:15 +03:00
Andrew Murray
75602d12e1
6.2.0 version bump
2019-10-01 19:23:32 +10:00
Hugo
f0a87e25a4
Drop support for EOL PyQt4 and PySide
2019-09-30 17:58:31 +03:00
Andrew Murray
cc16025e23
Merge pull request #4104 from radarhere/overrun
...
Catch buffer overruns
2019-09-30 23:33:28 +10:00
Andrew Murray
fb8470187a
Merge pull request #4034 from cgohlke/patch-1
...
Initialize rows_per_strip when RowsPerStrip tag is missing
2019-09-30 22:32:34 +10:00
Andrew Murray
b9693a51c9
Merge pull request #4103 from radarhere/dimension
...
Raise error if TIFF dimension is a string
2019-09-30 21:26:53 +10:00
Andrew Murray
f228d0ccbf
Merge pull request #4102 from radarhere/decompression
...
Added decompression bomb checks
2019-09-30 20:31:05 +10:00
Andrew Murray
aaf2c42156
Merge pull request #4000 from nulano/dpi_fix
...
Fix Screengrab DPI scaling on Windows 10 version 1607+
2019-09-30 19:50:46 +10:00
Andrew Murray
9a977b975c
Raise error if dimension is a string
2019-09-30 18:48:10 +10:00
Andrew Murray
ab52630d06
Catch buffer overruns
2019-09-30 18:45:43 +10:00
Andrew Murray
eed2bfc5b4
Added decompression bomb checks
2019-09-30 18:45:13 +10:00
Andrew Murray
87c43b66a5
Corrected negative seeks
2019-09-30 18:31:18 +10:00
Hugo van Kemenade
d3ae7a1c46
Merge pull request #4088 from radarhere/fit
...
Do not calculate the crop width in Image.fit if it is already known
2019-09-29 12:57:29 +03:00
Andrew Murray
1809f46e0b
Do not calculate the crop width if it is already known
2019-09-29 14:26:32 +10:00
nulano
17d9938ece
spider labrec ceil
2019-09-27 22:10:49 +02:00
nulano
ee5c134b33
Merge branch 'master' into dpi_fix
2019-09-27 09:11:01 +02:00
Hugo van Kemenade
310d2c9005
Add option to capture all monitors on Windows ( #3950 )
...
Add option to capture all monitors on Windows
2019-09-27 08:47:55 +03:00
nulano
5f4c1e113c
add libimagequant to features.py
2019-09-27 00:34:45 +02:00
Andrew Murray
2f5e24da48
Removed warning
2019-09-25 18:52:53 +10:00
Andrew Murray
8f91eff078
Changed default frombuffer raw decoder args
2019-09-25 18:52:07 +10:00
Andrew Murray
595a8fd33c
Updated warning to specify time of change
2019-09-24 20:33:02 +10:00
Hugo van Kemenade
20b6a8a57b
Merge pull request #4080 from radarhere/imageshow
...
Changed WindowsViewer format to PNG
2019-09-22 09:13:15 +03:00
Andrew Murray
f9236a11ce
Do not seek if the file pointer is about to be closed
2019-09-21 21:54:39 +10:00
Andrew Murray
82f4a0d8f2
Changed WindowsViewer format to PNG
2019-09-21 09:11:32 +10:00
Hugo van Kemenade
f5aed1a254
Merge branch 'master' into patch-1
2019-09-20 22:59:29 +03:00
Hugo van Kemenade
736b8436e7
Use TIFF orientation ( #4063 )
...
Use TIFF orientation
2019-09-20 22:57:58 +03:00
Hugo van Kemenade
8e3c4e3658
Merge pull request #3965 from radarhere/truncated
...
Raise the same error if a truncated image is loaded a second time
2019-09-20 22:53:52 +03:00
nulano
6a2d8f8da0
rename parameter, add note to docs
2019-09-20 17:35:08 +02:00
Andrew Murray
0009646a41
Corrected comment [ci skip]
2019-09-16 21:06:13 +10:00
Andrew Murray
1b70a4c6b5
Use TIFF orientation
2019-09-13 22:36:26 +10:00
Hugo van Kemenade
e5f6b86413
Merge pull request #4031 from radarhere/exif
...
Lazily use ImageFileDirectory_v1 values from Exif
2019-09-09 20:16:24 +03:00
Andrew Murray
ef16cb8efe
ImageFileDirectory_v1 does not raise KeyError
2019-09-07 18:31:23 +10:00
Andrew Murray
14859ce506
Merge pull request #4004 from radarhere/hsv
...
Improved HSV conversion
2019-09-07 00:50:34 +10:00
Andrew Murray
76e5bd0f0f
Added brackets
2019-09-06 20:07:23 +10:00
Andrew Murray
58d2814ab5
Corrected tag types
2019-09-06 19:33:57 +10:00
Andrew Murray
da39d40342
Merge pull request #3978 from radarhere/stroke
...
Added text stroking
2019-09-06 19:14:49 +10:00
Hugo van Kemenade
97f6fc96f2
Merge pull request #4047 from radarhere/modes
...
Documented more limited support modes
2019-09-05 23:20:24 +03:00
Andrew Murray
e790a4066a
Renamed method
...
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
2019-09-06 06:18:48 +10:00
Hugo van Kemenade
cb1ebc024b
Merge pull request #4017 from radarhere/floodfill
...
Do not allow floodfill to extend into negative coordinates
2019-09-05 23:00:33 +03:00
Hugo van Kemenade
bd2d7cb247
Merge pull request #4014 from radarhere/arc
...
Fixed arc drawing bug for a non-whole number of degrees
2019-09-05 22:52:05 +03:00
Hugo van Kemenade
572a93c86f
Corrected tag counts ( #4033 )
...
Corrected tag counts
2019-09-05 22:41:16 +03:00
Andrew Murray
dea75d1210
Corrected comment
2019-09-05 20:11:02 +10:00
Hugo van Kemenade
e980d023db
Merge pull request #3969 from radarhere/encoding
...
Documented more encoding values
2019-09-04 16:51:13 +03:00
Hugo van Kemenade
3f9d00e4c2
Merge pull request #3967 from radarhere/error
...
Return after error
2019-09-04 16:07:22 +03:00
Konstantin Kopachev
06e34db10b
Merge remote-tracking branch 'upstream/master' into exif-writing-fixes
...
# Conflicts:
# Tests/test_file_tiff_metadata.py
2019-08-29 09:20:09 -07:00
Andrew Murray
ddcfd259cf
Corrected short and long range checks
2019-08-29 19:36:46 +10:00
Andrew Murray
24d29bd11d
Merge pull request #4003 from djy0/master
...
Fix bug when merging identical images to GIF with a list of durations
2019-08-25 12:52:41 +10:00
Andrew Murray
2dbfabe6d5
Simplifications
2019-08-24 08:10:45 +10:00
Andrew Murray
d96f657328
Merge pull request #3998 from chadawagner/master
...
Fix bug in TIFF loading of BufferedReader
2019-08-23 06:25:30 +10:00
Andrew Murray
f3ed44a566
Changed the Image getexif method to return a shared Exif instance
2019-08-23 06:13:20 +10:00
Christoph Gohlke
b37f12a5f8
Initialize rows_per_strip when RowsPerStrip tag is missing
2019-08-20 16:07:07 -07:00
Andrew Murray
4834157658
Documented OS support for saved files [ci skip]
2019-08-20 20:42:58 +10:00
Andrew Murray
7a16ef16e7
Added IptcNaaInfo tag to v2
2019-08-19 21:12:24 +10:00
Andrew Murray
f08a0966a0
Corrected tag counts
2019-08-19 21:12:16 +10:00
Andrew Murray
0b405c86be
Lazily use ImageFileDirectory_v1 values from Exif
2019-08-18 23:03:43 +10:00
Andrew Murray
19426417ff
Reverted unrelated change
2019-08-17 20:38:54 +10:00
Andrew Murray
75fe92fa88
Updated documentation [ci skip]
2019-08-16 19:16:06 +10:00
Andrew Murray
108512eae2
Cleaned up strings
2019-08-15 20:41:48 +10:00
nulano
fa6b80fddf
add option to capture all monitors on Windows
2019-08-15 20:03:33 +10:00
Andrew Murray
86c64aafd2
Formatted text [ci skip]
2019-08-12 20:43:32 +10:00
Andrew Murray
eb0a61a47e
Simplified text [ci skip]
...
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
2019-08-12 20:42:27 +10:00
Andrew Murray
b307fb4808
Noted a Windows limit on opening fonts [ci skip]
2019-08-12 20:19:49 +10:00
Andrew Murray
8fb437d37f
Improved ImageFont documentation [ci skip]
2019-08-12 20:04:18 +10:00
Andrew Murray
524933aa1d
Lint fixes
2019-08-12 19:43:35 +10:00
Konstantin Kopachev
1b626f4d22
Fix RATIONAL and SRATIONAL boundaries when writing IFDs
2019-08-12 19:43:35 +10:00
chadawagner
597ca79b1b
rewind before decode, consistent with other cases
2019-08-12 18:56:34 +10:00
chadawagner
88be36c27a
check prior fp result, do not use if False
2019-08-12 18:56:34 +10:00
djy0
dc9c0dbfbe
format
2019-08-12 18:54:29 +10:00
djy0
3499f50e52
format
2019-08-12 18:54:29 +10:00
djy0
fcaf27d51c
Update GifImagePlugin.py
2019-08-12 18:54:29 +10:00
Andrew Murray
d46f81afba
Windows Screengrab DPI fix improvements ( #2 )
...
* Load User32 after possible return
* Removed unused setting of variable
2019-08-12 18:51:52 +10:00
nulano
cacbdc680c
override Win10 dpi scaling in screengrab
...
(cherry picked from commit 45ead62d6431c8339613e8ced85b705c80a7fdc9)
2019-08-12 18:51:52 +10:00
Andrew Murray
23872c0645
Do not allow floodfill to extend into negative coordinates
2019-08-12 06:51:16 +10:00
Andrew Murray
8fff9a2444
Fixed arc drawing bug for a non-whole number of degrees
2019-08-12 06:50:58 +10:00
Andrew Murray
27d6fc7bc5
Improved HSV conversion
2019-08-12 06:50:18 +10:00
Andrew Murray
f93a5d0972
Added text stroking
2019-07-29 06:40:03 +10:00
Andrew Murray
dfed1424d1
Improved ImageFont documentation
2019-07-25 20:04:45 +10:00
Andrew Murray
e2ee2a30a5
Corrected tag type
2019-07-24 19:57:28 +10:00
Andrew Murray
66ad3cb461
Changed overflow check to use PY_SSIZE_T_MAX
2019-07-17 07:07:26 +10:00
Hugo van Kemenade
1ab5670eb1
Introduce isort to automate import ordering and formatting ( #3954 )
...
Introduce isort to automate import ordering and formatting
2019-07-16 23:02:31 +03:00
Andrew Murray
c76369ce87
Explain that encoding does not alter text
2019-07-16 19:28:54 +10:00
Andrew Murray
0427170db5
Documented more encoding values
2019-07-15 19:04:35 +10:00
Andrew Murray
2995fb67c1
Return after error
2019-07-13 13:50:13 +10:00
Andrew Murray
023dcf27c2
Raise the same error if a truncated image is loaded a second time
2019-07-13 08:37:17 +10:00
Jon Dufresne
d50445ff30
Introduce isort to automate import ordering and formatting
...
Similar to the recent adoption of Black. isort is a Python utility to
sort imports alphabetically and automatically separate into sections. By
using isort, contributors can quickly and automatically conform to the
projects style without thinking. Just let the tool do it.
Uses the configuration recommended by the Black to avoid conflicts of
style.
Rewrite TestImageQt.test_deprecated to no rely on import order.
2019-07-06 16:11:35 -07:00
Andrew Murray
13224bf029
Removed unused argument
2019-07-04 20:07:33 +10:00
Hugo
50693f8e59
Added explicit braces ( #3937 )
...
Added explicit braces
2019-07-03 15:05:15 +03:00
Hugo
292b4d038c
6.2.0.dev0 version bump
2019-07-03 08:49:24 +03:00
nulano
86d4c53d79
revert #3780 for PyPy as it hasn't been updated
2019-07-02 08:52:15 +02:00
Rolf Eike Beer
0e0afd4acf
fix bad loop increments in p2i() and p2f()
...
Fixes: 7a4af2b767
2019-07-01 20:25:52 +02:00
Andrew Murray
8fd1ed9b73
Added explicit braces
2019-07-01 22:07:45 +10:00
Hugo
c5578b7fd7
6.1.0 version bump
2019-07-01 14:17:21 +03:00
Oliver Tonnhofer
edeb8d69af
Merge branch 'master' into tiff-jpeg-quality
2019-07-01 11:00:06 +02:00
Hugo
555e305a60
Merge pull request #3225 from DerDakon/unaligned-access
...
Use explicit memcpy() to avoid unaligned memory accesses
2019-07-01 08:22:18 +03:00
Oliver Tonnhofer
2af4026201
Improve encoding of TIFF tags ( #3861 )
...
* Improve encoding of TIFF tags
- Pass tagtype from v2 directory to libtiff encoder, instead of
autodetecting type.
- Use explicit types. E.g. uint32_t for TIFF_LONG to fix issues on
platforms with 64bit longs.
- Add support for multiple values (arrays). Requires type in v2
directory and values must be passed as a tuple.
- Add support for signed types (e.g. TIFFTypes.TIFF_SIGNED_SHORT).
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2019-06-30 21:48:19 +03:00
Hugo
8d4bb339a6
Merge pull request #3780 from nulano/update_py_unicode
...
Update Py_UNICODE to Py_UCS4
2019-06-30 13:21:46 +03:00
Hugo
12695b8ca3
Merge pull request #3899 from radarhere/pixelsize
...
Consider I;16 pixel size when drawing
2019-06-30 13:18:46 +03:00
Andrew Murray
c994b783ec
Merge branch 'master' into tiff-jpeg-quality
2019-06-30 14:03:09 +10:00
Christoph Gohlke
a70da8112d
Add TIFFTAG_SAMPLEFORMAT to blocklist
...
The SAMPLEFORMAT tag is determined by the image format and should not be copied from legacy_ifd.
2019-06-30 13:26:58 +10:00
Andrew Murray
9074eda608
Merge pull request #3778 from radarhere/all_frames
...
Added ImageSequence all_frames
2019-06-30 07:55:34 +10:00
Rolf Eike Beer
7a4af2b767
fix unaligned accesses by using memcpy()
2019-06-29 21:04:11 +02:00
Rolf Eike Beer
220bfee19a
replace copy operations with memcpy()
...
This replaces trivial instances where a copy from one pointer to the other
involves no further calculations or casts. The compiler will optimize this to
whatever the platform offers.
2019-06-29 19:30:24 +02:00
Andrew Murray
90d3d37164
Do not presume that the background color index is 0
2019-06-29 23:06:45 +10:00
Andrew Murray
97c15a245c
Corrected color table size calculation
2019-06-29 23:02:26 +10:00
Andrew Murray
3e4db05249
Removed code not required by tests
2019-06-29 23:02:17 +10:00
Andrew Murray
c3e982e0c6
Merge branch 'master' into master
2019-06-29 22:59:17 +10:00
Hugo
af0d90a054
Merge pull request #3923 from cgohlke/patch-1
...
Use unsigned int to store TIFF IFD offsets
2019-06-29 11:02:10 +03:00
Hugo
0e7358a046
Updated TIFF tile descriptors to match current decoding functio… ( #3795 )
...
Updated TIFF tile descriptors to match current decoding functionality
2019-06-29 10:27:00 +03:00
Hugo
08c47925d0
Added an image.entropy()
method ( #3608 )
...
Added an `image.entropy()` method
2019-06-29 10:12:34 +03:00
Hugo
a96482bba0
Pass the correct types to PyArg_ParseTuple ( #3880 )
...
Pass the correct types to PyArg_ParseTuple
2019-06-28 21:49:54 +03:00
Christoph Gohlke
59e1328272
Use unsigned int to store TIFF IFD offsets
2019-06-27 15:30:19 -07:00
Christoph Gohlke
129df60c48
Use unsigned int to store TIFF IFD offsets
2019-06-27 15:09:31 -07:00
Christoph Gohlke
2ebde32852
Use unsigned int to store TIFF IFD offsets
2019-06-27 15:07:52 -07:00
Hugo
119d1c927b
Merge pull request #3922 from radarhere/param
...
Improved parameter documentation
2019-06-28 00:25:41 +03:00
Hugo
372c7c352a
Merge pull request #3703 from jkrshnmenon/master
...
Add an upper limit for blocks_max in _set_blocks_max
2019-06-27 23:03:25 +03:00
Hugo
b584635a8c
Merge pull request #3912 from radarhere/non_font_bytes
...
Fixed crash when loading non-font bytes
2019-06-27 22:40:29 +03:00
Hugo
219f277129
Merge pull request #3858 from kulikjak/master
...
Fix SPARC memory alignment issues in Pack/Unpack functions
2019-06-27 21:27:37 +03:00
Andrew Murray
e319e32cec
Improved parameter documentation [ci skip]
2019-06-27 22:53:46 +10:00
Andrew Murray
1a71faf8ea
Removed variable
2019-06-26 19:15:47 +10:00
Alexander Böhn
7b815a5f1d
Added an image.entropy()
method
...
This calculates the entropy for the image, based on the histogram.
Because this uses image histogram data directly, the existing C
function underpinning the `image.histogram()` method was abstracted
into a static function to parse extrema tuple arguments, and a new
C function was added to calculate image entropy, making use of the
new static extrema function.
The extrema-parsing function was written by @homm, based on the
macro abstraction I wrote, during the discussion of my first
entropy-method pull request: https://git.io/fhodS
The new `image.entropy()` method is based on `image.histogram()`,
and will accept the same arguments to calculate the histogram data
it will use to assess the entropy of the image.
The algorithm and methodology is based on existing Python code:
* https://git.io/fhmIU
... A test case in the `Tests/` directory, and doctest lines in
`selftest.py`, have both been added and checked.
Changes proposed in this pull request:
* Added “math.h” include to _imaging.c
* The addition of an `image.entropy()` method to the `Image`
Python class,
* The abstraction of the extrema-parsing logic of of the C
function `_histogram` into a static function, and
* The use of that static function in both the `_histogram` and
`_entropy` C functions.
* Minor documentation addenda in the docstrings for both the
`image.entropy()` and `image.histogram()` methods were also
added.
* Removed outdated boilerplate from testing code
* Removed unused “unittest” import
2019-06-26 19:15:47 +10:00
Hugo
a79147ff96
Merge pull request #3916 from cgohlke/patch-1
...
Fix memory leak
2019-06-26 12:09:50 +03:00
Hugo
f2d0106a9b
Merge pull request #3917 from cgohlke/patch-2
...
Fix potential null pointer is passed into memcpy
2019-06-26 12:09:22 +03:00
Jayakrishna Menon
37516fb665
adding an upper limit for blocks_max in _set_blocks_max
2019-06-26 19:08:07 +10:00
Christoph Gohlke
afed559e4f
Fix msvc9 compile error
2019-06-25 17:18:37 -07:00
Christoph Gohlke
c34cefb576
Use ssize_t to store number of elements in buffer
2019-06-25 14:41:06 -07:00
Christoph Gohlke
a78341e26c
Fix potential null pointer is passed into memcpy
2019-06-25 14:23:20 -07:00
Oliver Tonnhofer
2b7d8be536
tiff: add support for JPEG quality
...
Uses JPEGQUALITY pseudo-tag from libtiff.
Also changes the way tags are passed to PyImaging_LibTiffEncoderNew from
dict to list to ensure that COMPRESSION tag is added before JPEGQUALITY.
This is required as the COMPRESSION tag registers the JPEGQUALITY
pseudo-tag.
2019-06-26 06:33:54 +10:00
Christoph Gohlke
47f7eba279
Fix memory leak
2019-06-25 13:33:49 -07:00
Oliver Tonnhofer
61add9d6b0
Improve encoding of TIFF tags
...
- Pass tagtype from v2 directory to libtiff encoder, instead of
autodetecting type.
- Use explicit types. E.g. uint32_t for TIFF_LONG to fix issues on
platforms with 64bit longs.
- Add support for multiple values (arrays). Requires type in v2
directory and values must be passed as a tuple.
- Add support for signed types (e.g. TIFFTypes.TIFF_SIGNED_SHORT).
2019-06-26 06:33:19 +10:00
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