Andrew Murray
3b4ea7c602
Do not use CCITTFaxDecode filter if libtiff is not available
2022-08-22 19:57:33 +10:00
Andrew Murray
2b14d83549
Added strip_size as TIFF encoder argument
2022-08-01 21:41:17 +10:00
Andrew Murray
f5b27f90f7
Save 1 mode PDF using CCITTFaxDecode filter
2022-08-01 20:38:47 +10:00
Hugo van Kemenade
d3c9a6504e
Variable in function should be snake_case
2022-04-10 23:55:16 +03:00
Andrew Murray
bde3086592
Do not mark L mode JPEG as 1 bit
2022-03-22 21:41:11 +11:00
Andrew Murray
b383a175be
Convert subsequent GIF frames to RGB or RGBA
2021-11-29 17:49:06 +11:00
Andrew Murray
bc935f9970
Do not round dimensions when saving PDF
2021-05-01 12:13:09 +10:00
Andrew Murray
d62be3e354
Switched to saving 1-bit PDFs with DCTDecode
2021-04-22 22:16:21 +10:00
Hugo van Kemenade
e0eec1eb56
Merge branch 'master' into rm-3.5
2020-09-01 20:16:46 +03:00
Hugo van Kemenade
10615a7da7
Upgrade Python syntax for 3.6+
...
Co-authored-by: nulano <nulano@nulano.eu>
2020-07-30 10:09:18 +03:00
Jon Dufresne
c84c736e5b
Remove unnecessary make_bytes() function
...
The function was introduced in 65112bad7e
to handle the differences between Python 2 & 3 byte handling. Now that
Python 3 supports byte formatting, can drop the unnecessary
compatibility shim in favor of native features.
2020-01-26 15:16:04 -08:00
Hugo van Kemenade
f81c829e04
Update word order
...
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2019-11-18 12:07:02 +02:00
Hugo
0c5895470c
Remove deprecated __version__ from plugins
2019-11-05 17:01:03 +02: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
Hugo
53a7e35004
Format with Black
2019-06-10 18:22:46 +03:00
Andrew Murray
ae1f7c4f50
Fixed dimensions of 1-bit PDFs
2019-05-04 16:27:34 +10:00
Jon Dufresne
a11fed32b3
Deprecate PIL.*ImagePlugin.__version__ attributes
...
Use PIL.__version__ instead.
2019-02-02 17:39:55 -08:00
Andrew Murray
fc57658635
Added PDF creation and modification date info
2018-08-25 00:58:49 +10:00
Andrew Murray
f5740dc305
Set PDF title to filename by default
2018-08-25 00:58:49 +10:00
Andrew Murray
c2189235af
Line too long
2018-07-02 19:26:02 +10:00
Andrew Murray
3bbd0a5810
Fixed saving a multiframe image as a single frame PDF
2018-05-18 22:15:45 +10:00
Hugo
ddc9e73b47
Merge pull request #2965 from vashek/master
...
Support appending to existing PDFs
2018-03-13 11:30:25 +02:00
Andrew Murray
2202196162
Flake8 blank line fixes
2018-03-04 21:36:33 +11:00
Dvořák Václav
c15a0b2fce
issue #2959 : rename pdfParser.py to PdfParser.py
2018-01-31 00:35:55 +01:00
Dvořák Václav
9be8d669f9
issue #2959 : changes based on @hugovk's review
2018-01-31 00:25:04 +01:00
Dvořák Václav
ede57b91e0
issue #2959 : keep file open, add context manager, add methods to support writing, eliminate the passing of file or buffer
2018-01-26 19:07:43 +01:00
Dvořák Václav
53ce9ec4fb
issue #2959 : fix PdfDict attribute access, text decoding, tests
2018-01-26 13:42:11 +01:00
Dvořák Václav
4d3b13fb08
issue #2959 : improve Info setting and dumping
2018-01-26 12:11:10 +01:00
Dvořák Václav
13fe1a5ba7
issue #2959 : text string decoding, support for Info dict, updated tests
2018-01-25 00:20:18 +01:00
Dvořák Václav
a187a361cb
issue #2959 : add tests and fixes, text encoding, remove remnants of text writing from PdfImagePlugin
2018-01-24 02:28:39 +01:00
Dvořák Václav
6207b44ab1
issue #2959 : support appending to existing PDFs
2018-01-18 14:33:11 +01:00
wiredfool
0bb3f4fee9
source layout reorg
2017-12-28 14:49:47 +00:00