Commit Graph

240 Commits

Author SHA1 Message Date
Andrew Murray
ce8c682748 Added setting to convert to RGB only at a different palette 2022-03-22 20:28:49 +11:00
Andrew Murray
66bb2bd5e8 Added setting to convert first GIF frame to RGB 2022-03-22 20:20:38 +11:00
Andrew Murray
7928e944cb Keep subsequent L frames without transparency as L 2022-03-22 20:20:38 +11:00
David Miguel Susano Pinto
0c4f11a603 doc: document "keep" for JPEG save quality option. 2022-03-14 17:01:03 +00:00
Andrew Murray
60de3b7d74 I mode data can also be read from PPM 2022-03-09 22:29:52 +11:00
Andrew Murray
e36774617c Added BLP1 saving 2022-02-25 23:58:13 +11:00
mergify[bot]
c58d2817bc
Merge pull request #6056 from radarhere/fits
Added FITS reading
2022-02-20 21:49:01 +00:00
Hugo van Kemenade
e5fa767024
Merge pull request #6067 from radarhere/subsampling
Corrected JPEG subsampling documentation
2022-02-19 10:57:41 +02:00
Andrew Murray
7dca0135dd Merge branch 'main' into fits 2022-02-19 14:41:45 +11:00
Andrew Murray
aca936c85e
Document the version when FITS was added
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-02-19 10:37:59 +11:00
Andrew Murray
a5ada2c56f Added a note about the default subsampling 2022-02-18 09:56:59 +11:00
Andrew Murray
f2a8c45744 Remove incorrect documentation of "-1" subsampling setting 2022-02-17 23:54:10 +11:00
Andrew Murray
dfdb17671d Added FITS reading 2022-02-15 11:22:46 +11:00
Andrew Murray
f8e4e9c2dd Added enums 2022-01-15 09:02:31 +11:00
Hugo van Kemenade
94ca035495
Merge pull request #5857 from radarhere/gif 2021-12-06 20:58:21 +02:00
Andrew Murray
675c5e1a9c Apply black formatting to code examples 2021-12-04 07:50:08 +11:00
Andrew Murray
eeb685b6c4 GIFs change mode for later frames [ci skip] 2021-11-29 18:50:22 +11:00
Andrew Murray
3f3828040b
Merge branch 'master' into tiff_exif 2021-09-07 06:33:37 +10:00
Andrew Murray
26d932505f Corrected property name [ci skip] 2021-08-15 17:28:52 +10:00
Andrew Murray
1d73a483f4 Added "transparency" argument to load() 2021-07-19 09:08:45 +10:00
Andrew Murray
c0f619384c Added "exif" keyword argument to save Image.Exif instance 2021-07-04 12:33:55 +10:00
Andrew Murray
90ece137b0
Merge branch 'master' into master 2021-06-29 20:52:35 +10:00
Hugo van Kemenade
70fafe3da7
Update version number 2021-06-28 16:36:30 +03:00
Andrew Murray
2afc6fdfc4 Documented updates to DDS format 2021-06-14 18:14:28 +10:00
Andrew Murray
fc1e7f423a
Corrected syntax [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2021-06-13 07:43:00 +10:00
Andrew Murray
ab1cc6ffa4 Copies of an image do not retain the format [ci skip] 2021-06-10 09:18:14 +10:00
Andrew Murray
2c9a9b3529 Added ICO saving in BMP format 2021-05-27 06:21:28 +10:00
Andrew Murray
2c03800824 Changed default "method" value to 4 2021-04-28 18:20:44 +10:00
Andrew Murray
302ddc9b5e Corrected syntax 2021-04-10 11:39:24 +10:00
Tanner Davis
8c38c80bb1
Now the rst link to the Image class should work 2021-04-09 11:47:29 -06:00
Tanner Davis
8da6eef073
Made sure the rst link to the Image class was correct 2021-04-09 11:09:16 -06:00
Tanner Davis
ef3de6bf4f
PDF format docs, append_images param update [ci skip]
Made sure it is documented that both the `append_images` and `save_all` params must be set. Just setting `append_images` does not work.
2021-04-09 10:53:33 -06:00
Andrew Murray
242af47a68 Removed obsolete "tiff_deflate" from compression methods [ci skip] 2021-03-19 12:14:41 +11:00
Andrew Murray
8f37f8dcb0 Sorted TIFF compression methods alphabetically [ci skip] 2021-03-17 17:54:37 +11:00
Andrew Murray
dd097fe1fd Updated list of TIFF compression methods [ci skip] 2021-03-17 11:14:12 +11:00
Andrew Murray
cfcedcc520 icc_profile is now a keyword argument when saving TIFF files [ci skip] 2021-03-14 21:21:40 +11:00
Andrew Murray
86ad435ee4
Merge branch 'master' into master 2020-12-30 13:05:35 +11:00
Andrew Murray
e37a8a263d
Merge pull request #4568 from ziplantil/ico-append-images
Add append_images support for ICO
2020-12-24 11:10:33 +11:00
Andrew Murray
6806fa1a20 PNG supports append_images [ci skip] 2020-11-04 22:56:14 +11:00
Andrew Murray
1ced7b7c92 Document ICO append_images [ci skip] 2020-11-04 22:52:45 +11:00
Andrew Murray
d171afc19e Describe effect of WebP save_all [ci skip] 2020-10-28 22:03:27 +11:00
Jon Dufresne
eb460a2ac8 Fix internal Sphinx link to installation doc
Fixes linkcheck warnings:

    handbook/image-file-formats.rst:563: [broken] ../installation.html:
    releasenotes/4.2.0.rst:7: [broken] ../installation.html:
2020-10-17 11:23:58 -07:00
Hugo van Kemenade
a7f384a813
Merge pull request #4292 from radarhere/private_png_chunks
Added reading and writing of private PNG chunks
2020-10-05 23:49:09 +03:00
nulano
d36850e037 fix docs typos 2020-08-11 02:14:13 +02:00
Andrew Murray
836dcc5ba0 Document missing attributes 2020-07-23 22:40:02 +10:00
Andrew Murray
cd10404abb Corrected reference 2020-07-14 22:36:36 +10:00
Hugo van Kemenade
4ca7e7e699
Merge pull request #4771 from nulano/refs-misc 2020-07-11 12:42:50 +03:00
nulano
39b5d7b4ac fix TiffTags and Exif related references 2020-07-11 13:25:10 +10:00
nulano
0083ebb3d4 fix various reference typos 2020-07-11 13:25:10 +10:00
nulano
9c277f5c49 document PngImagePlugin constants 2020-07-11 13:23:19 +10:00
nulano
9589159585 use cross-reference for None value 2020-07-10 00:08:27 +02:00
nulano
19dd5cbfab fix some function references
(cherry picked from commit 9fb582940d)
2020-06-27 15:40:37 +02:00
Hugo
dda6145fce Since Python 3.3 IOError and WindowsError have been merged into OSError 2020-04-10 12:57:29 +03:00
Andrew Murray
a283102ff4 ICNS can now be saved on non-macOS platforms [ci skip] 2020-04-07 21:17:09 +10:00
Andrew Murray
e2437c9b48 Corrected description [ci skip] 2020-04-06 21:57:45 +10:00
Andrew Murray
9f61be4c72
Merge branch 'master' into apng 2020-03-09 23:29:40 +11:00
Andrew Murray
e41cfade29 Add JPEG comment to info dictionary 2020-03-07 06:57:29 +11:00
Hugo van Kemenade
64a9e0c660
Merge branch 'master' into apng 2020-02-29 17:40:17 +02:00
Peter Rowlands
9b72f0513c Adjust is_animated behavior
- Make is_animated APNG behavior consistent with other Pillow formats
- is_animated will be true when n_frames is greater than 1 (for APNG
  this depends on animation frame count + presence or absence of a
  default image)
2020-02-23 15:14:06 +11:00
Peter Rowlands
dcc3f41fa1 Add release notes 2020-02-23 15:14:06 +11:00
Peter Rowlands
3a254701f6 Cleanup documentation
- Add changes requested by hugovk
2020-02-23 15:14:06 +11:00
Peter Rowlands (변기호)
0b536fb599 fix documentation review issue
[ci skip]

Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-02-23 15:14:06 +11:00
Peter Rowlands
916b2e1b74 Document APNG support 2020-02-23 15:14:06 +11:00
Andrew Murray
a8c0794107 Allow saving of zero quality JPEG images 2020-02-21 22:05:44 +11:00
Andrew Murray
feec1bbcb2 Updated WMF documentation [ci skip] 2019-12-30 10:12:37 +11:00
Andrew Murray
ecb3a30487 Clarified documentation [ci skip] 2019-10-06 13:52:58 +11:00
Hugo
f792ab6c02 RST uses double backticks for code (MD uses 1) 2019-09-13 08:56:33 +03:00
Andrew Murray
0527efd593 Corrected documentation of TIFF saving arguments [ci skip] 2019-08-07 19:53:35 +10: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
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
Andrew Murray
d31de47768 Added release notes [ci skip] 2019-04-01 21:16:52 +11:00
Andrew Murray
9699ac40c7 n_frames is not an info key [ci skip] 2019-03-31 12:44:39 +11:00
Andrew Murray
7a845ee2e7 Corrected seek documentation [ci skip] 2019-03-31 12:43:09 +11:00
Andrew Kuchling
7ca0c189e3 Various documentation fixes [ci skip]
* TIFF: describe num_frames and seek()/tell()
* Link methods to PIL.Image class instead of the Python file object
* It doesn't seem like the Spider plug-in actually has an 'nimages' attribute
* Fix markup for exception name
2019-03-31 12:14:53 +11:00
Andrew Murray
4a5666f1f4 Added transparency for all PNG greyscale modes 2019-03-27 07:41:33 +11:00
Andrew Murray
fa8ecffff2 Corrected seek documentation 2019-03-17 00:00:10 +11:00
Andrew Murray
0ad09f7386
Merge branch 'master' into mime-types 2019-03-15 07:06:59 +11:00
Andrew Murray
ebdb1ffc54 Added PNM to the list of PPM files [ci skip] 2019-03-14 08:35:27 +11:00
Andrew Murray
f06056cc1f Updated PNG modes [ci skip] 2019-03-12 21:10:59 +11: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
5da0d5beee
Merge pull request #3673 from radarhere/dds
Add reading of DDS uncompressed RGB data
2019-03-11 12:04:47 +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
148d320b40 Added reading of uncompressed RGB data 2019-02-23 06:44:06 +11:00
Andrew Murray
828a6f947c Fixed typo [ci skip] 2019-02-12 20:35:23 +11:00
Andrew Murray
95d80a7e5d Corrected data type [ci skip] 2018-12-24 17:05:38 +11:00
Andrew Murray
fc57658635 Added PDF creation and modification date info 2018-08-25 00:58:49 +10:00
Andrew Murray
af817c83ad Corrected links for Read The Docs [ci skip] 2018-08-23 21:07:25 +10:00
Andrew Murray
de7b43397a Added links to installation documentation [ci skip] 2018-08-23 20:36:05 +10:00
Andrew Murray
a91cb4b24a Improved GIF documentation [ci skip] 2018-08-04 22:35:48 +10:00
Hugo
a2c6a5a38e Update CHANGES, image-file-formats and release notes [CI skip] 2018-07-01 22:24:35 +03:00
Hugo
80d399a485
Merge pull request #3178 from danpla/tga-la
TGA: Read and write LA data
2018-07-01 21:57:10 +03:00
Alex Clark
eafbb395a9
Merge pull request #1817 from radarhere/gd
Added GD tests
2018-06-30 18:01:36 -04:00
Andrew Murray
6b224bed34 Updated documentation [ci skip] 2018-06-16 22:29:34 +10:00
Daniel Plakhotich
39fae6e077 TGA: Read and write LA data 2018-06-14 12:18:08 +03:00
wiredfool
219c31b34d
Merge pull request #3064 from wiredfool/release_notes
Release notes for 5.1.0
2018-04-02 11:21:58 +01:00
Eric Soroos
d74e71537e typo 2018-04-02 10:21:02 +00:00
Eric Soroos
6bae24034e Release notes for 5.1.0 2018-04-02 09:59:13 +00:00
Andrew Murray
08a8a25290 Added documentation for ICNS append_images [ci skip] 2018-03-21 21:11:39 +11:00
Dvořák Václav
9be8d669f9 issue #2959: changes based on @hugovk's review 2018-01-31 00:25:04 +01:00