Commit Graph

468 Commits

Author SHA1 Message Date
Andrew Murray
9c09a975df Corrected syntax [ci skip] 2021-02-23 23:08:44 +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
cf9158f635 Corrected syntax [ci skip] 2020-11-28 12:10:20 +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
d22608b7bd fix hyphens and add missing articles
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-10-04 20:12:47 +01:00
nulano
a9b8dcba7d write anchor docs
(cherry picked from commit dcaee36941e6cb5e6f93186b6f819fb74887e0d3)
2020-09-22 14:58:17 +02:00
MauveRanger
96b3935adc
[ci skip] Clarify that modes are strings, not constants
I misunderstood this section the first time I read it. I hope this change will clarify how to request a mode such as from Image.new("RGBA", size)
2020-09-09 18:28:49 -04: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
Andrew Murray
836dcc5ba0 Document missing attributes 2020-07-23 22:40:02 +10:00
Andrew Murray
45564fe89d Removed domain references when referring to hypothetical code 2020-07-14 22:36:46 +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
Hugo van Kemenade
fc1f16b616
Merge pull request #4774 from nulano/refs-std 2020-07-10 17:45:04 +03:00
Hugo van Kemenade
384523fab2 Fix PostScript typos 2020-07-10 11:48:02 +03:00
nulano
9589159585 use cross-reference for None value 2020-07-10 00:08:27 +02:00
Hugo van Kemenade
109c637ddb 'plugin', formatting and typos 2020-07-03 09:38:30 +03:00
nulano
9019af5f32
Merge branch 'master' into refs-const 2020-06-28 10:55:26 +01:00
nulano
19dd5cbfab fix some function references
(cherry picked from commit 9fb582940d)
2020-06-27 15:40:37 +02:00
nulano
3342270947 fix Image constants references
(cherry picked from commit 5511111f3b)
2020-06-27 15:39:55 +02:00
Andrew Murray
3b62151215 Changed example function name to match use in code [ci skip] 2020-05-17 16:05:54 +10:00
Andrew Murray
67d26ed051 Use _accept function in example plugin [ci skip] 2020-05-17 09:24:06 +10:00
Hugo
94c7af7596 Replace spaces with tabs and add to pre-commit linting 2020-05-01 21:23:39 +03: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
0f7ed2d35f
Merge pull request #4435 from radarhere/close_images
Close exclusively opened images
2020-03-06 00:27:46 +02:00
Hugo van Kemenade
64a9e0c660
Merge branch 'master' into apng 2020-02-29 17:40:17 +02:00
Andrew Murray
04f7c75466 Use context manager when opening images [ci skip] 2020-02-29 10:29:44 +11: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
8e7010d9ae Changed example plugin to work in Python 3 [ci skip] 2020-02-09 15:34:14 +11:00
Andrew Murray
db970acfa5 Grammar fix [ci skip] 2020-02-06 20:10:34 +11:00
Andrew Murray
1f58028173 Use BytesIO instead of StringIO [ci skip] 2020-01-21 23:21:57 +11:00
Andrew Murray
feec1bbcb2 Updated WMF documentation [ci skip] 2019-12-30 10:12:37 +11:00
Hugo
7b4ae104f0 Fix malformed table 2019-12-16 15:07:56 +02:00
Hugo
cc63f66575 Merge remote-tracking branch 'upstream/master' into rm-2.7 2019-11-01 13:22:56 +02:00
Jon Dufresne
4cd4adddc3 Improve handling of file resources
Follow Python's file object semantics. User code is responsible for
closing resources (usually through a context manager) in a deterministic
way.

To achieve this, remove __del__ functions. These functions used to
closed open file handlers in an attempt to silence Python
ResourceWarnings. However, using __del__ has the following drawbacks:

- __del__ isn't called until the object's reference count reaches 0.
  Therefore, resource handlers remain open or in use longer than
  necessary.

- The __del__ method isn't guaranteed to execute on system exit. See the
  Python documentation:

  https://docs.python.org/3/reference/datamodel.html#object.__del__

  > It is not guaranteed that __del__() methods are called for objects
  > that still exist when the interpreter exits.

- Exceptions that occur inside __del__ are ignored instead of raised.
  This has the potential of hiding bugs. This is also in the Python
  documentation:

  > Warning: Due to the precarious circumstances under which __del__()
  > methods are invoked, exceptions that occur during their execution
  > are ignored, and a warning is printed to sys.stderr instead.

Instead, always close resource handlers when they are no longer in use.
This will close the file handler at a specified point in the user's code
and not wait until the interpreter chooses to. It is always guaranteed
to run. And, if an exception occurs while closing the file handler, the
bug will not be ignored.

Now, when code receives a ResourceWarning, it will highlight an area
that is mishandling resources. It should not simply be silenced, but
fixed by closing resources with a context manager.

All warnings that were emitted during tests have been cleaned up. To
enable warnings, I passed the `-Wa` CLI option to Python. This exposed
some mishandling of resources in ImageFile.__init__() and
SpiderImagePlugin.loadImageSeries(), they too were fixed.
2019-10-12 08:27:17 -07:00
Andrew Murray
4140cd807b
Merge branch 'master' into rm-2.7 2019-10-12 18:03:58 +11:00
Andrew Murray
a8c07e3d5f Added orientation note [ci skip] 2019-10-11 22:40:31 +11:00
Hugo
0caa48b179 Remove redundant __future__ from docs
Co-Authored-By: Jon Dufresne <jon.dufresne@gmail.com>
2019-10-08 17:26:11 +03: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
5ad5be4a32 Reference Pillow not PIL [ci skip] 2019-09-06 06:13:12 +10:00
Andrew Murray
51457311de
Reference Pillow not PIL [ci skip]
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
2019-09-06 06:10:40 +10:00
Andrew Murray
2a7ad14172 Added more limited support modes [ci skip] 2019-09-05 20:10:43 +10: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
0a73e31415 Added note about RGBX padding 2019-06-21 19:37:43 +10: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
41f3e7c8bd
Merge pull request #3838 from radarhere/i_conversion
Improved I mode conversion
2019-06-05 22:23:35 +03:00
Andrew Murray
e1df2118b3 Link method [ci skip] 2019-06-02 13:34:18 +10:00
Andrew Murray
a258b8dcdc
Apply suggestions from code review [ci skip]
Co-Authored-By: Hugo <hugovk@users.noreply.github.com>
2019-05-09 19:05:06 +10:00
Andrew Murray
64eff66ee7 Updated pixel range documentation [ci skip] 2019-05-09 14:32:14 +10:00
Andrew Murray
f9f235ac2e Corrected use of function [ci skip] 2019-05-06 08:40:32 +10:00
Andrew Murray
38df9bef09 Added import [ci skip] 2019-05-06 08:38:43 +10:00
Andrew Murray
1d67bf0539 Document pixel range [ci skip] 2019-05-04 16:11:16 +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
cea6ecfdbb Updated example decoders [ci skip] 2018-09-30 14:07:55 +10:00
Hugo
e2deb07608
Merge pull request #3274 from radarhere/pdf
Improve PDF document info
2018-09-29 17:43:05 +03:00
Andrew Murray
bd600c6966 Crop is no longer lazy [ci skip] 2018-09-29 15:31:10 +10:00
Andrew Murray
6072e2e595 Changed note to be more generic [ci skip] 2018-09-29 15:12:48 +10:00
Andrew Murray
f4fd517373 Removed blank line after heading for consistency [ci skip] 2018-09-05 21:05:09 +10:00
Andrew Murray
d86fa316ca Fixed typo [ci skip] 2018-09-05 21:02:32 +10: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
7274636a7e Added coordinate system links in documentation 2018-06-24 14:34:01 +10: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
Dvořák Václav
bc01bb6aae issue #2959: update documentation 2018-01-25 00:22:03 +01:00
Andrew Murray
454ffe4a01 Changed tutorial code to use docstring [ci skip] 2018-01-12 20:46:16 +11:00
Hugo
8018f7b290 4.4.0 -> 5.0.0 2017-12-30 20:34:55 +02:00
wiredfool
49bd3232e5
Merge pull request #2899 from wiredfool/pr_2882
Run all compressed tiffs through libtiff
2017-12-27 20:39:51 +00:00
wiredfool
ff13d184d8
Merge pull request #2902 from wiredfool/pr_2388
Add disposal option when saving GIFs
2017-12-27 12:15:00 +00:00
wiredfool
f3ff2b4420 docs for per-frame disposal [ci skip] 2017-12-21 22:30:31 +00:00
linnil1
5a902bf8a2 Add dispoal description in documents 2017-12-21 22:06:59 +00:00
Eric Soroos
27bc13df7b typos 2017-12-20 12:34:42 +00:00
Eric Soroos
c816932f4b Docs for libtiff read w/compression change 2017-12-20 12:30:39 +00:00
Eric Soroos
03150c2410 docs for new info items 2017-12-20 11:50:13 +00:00
wiredfool
a3a9faf3a2
Merge pull request #2761 from monolithlabs/animated_webp
Add support for animated WebP files
2017-11-05 15:34:50 +00:00
Jason Douglas
28bec69e98 - flake8 formatting fixes
- webp => WebP doc and comment changes
2017-10-01 15:23:18 -07:00
Andrew Murray
7f1e83aa39 Corrected documentation 2017-09-28 21:03:15 +10:00
Jason Douglas
c18d26b04b - Conditonally compile animation support, only if the mux.h and demux.h headers meet the ABI version requirements
- Add WEBPMUX support back to WebPDecode_wrapper (to support older versions of libwebp that have mux support, but not animation)
- Add HAVE_WEBPANIM flag, and use it appropriately
- Update documentation / tests
2017-09-27 19:04:24 -07:00
Jason Douglas
6e4766155d Add support for writing animated webp files 2017-09-25 18:53:31 -07:00
Hugo
2aee124fb5 Fix docs to match code
Code was fixed in https://github.com/python-pillow/Pillow/pull/2267 but not the docs.
2017-09-05 13:43:34 +03:00
Alexander
4d56db3a34 Fix wrong formula for subsampling=2 while JPEG saving 2017-08-27 20:03:36 +03:00
Andrew Murray
e24aaa60a2 Improved append_images documentation [ci skip] 2017-07-01 21:34:41 +10:00
wiredfool
8323ab1149 Merge pull request #2447 from hugovk/test-mic
Test MicImagePlugin for correctness
2017-06-13 22:20:44 +01:00
hugovk
5d00979dd4 Note that there may be an embedded gamma of 2.2 in MIC files 2017-06-13 23:08:46 +03:00
Andrew Murray
1df8ac22fd Changed wording [ci skip] 2017-05-29 19:42:06 +10:00
Andrew Murray
5eabd731f0 Changed tutorial code to use with for opening files [ci skip] 2017-05-29 19:41:48 +10:00
Andrew Murray
cafc311943 Added import statements to make examples self-contained [ci skip] 2017-05-29 19:41:30 +10:00
Andrew Murray
424a09ecad Updated references to point to existing files [ci skip] 2017-05-06 23:20:34 +10:00
wiredfool
c9f54c98a5 Merge pull request #1938 from wiredfool/python-decoder
Pure Python Decoders - fix for MSP decoding
2017-03-12 17:20:19 +00:00
wiredfool
38f43c1e5f review lint 2017-03-11 13:50:19 +00:00
wiredfool
c2cd5fe3d1 handles_eof was removed in 4.0 2017-03-11 13:50:19 +00:00
wiredfool
1c0d1c547e PyDecoder documentation 2017-03-11 13:50:19 +00:00
wiredfool
be26453ac0 python decoder docs 2017-03-11 13:50:19 +00:00
wiredfool
51b46e00c2 Refactor out passed in palette handling, add ImagePalette as an option, document palette format 2017-03-08 01:35:15 -08:00
Hugo
53e5702557 Update http to https 2017-02-14 11:27:02 +02:00
Alexander Karpinsky
071a5933ef Update concepts.rst 2017-01-08 22:32:57 +03:00
wiredfool
6fd020a465 Added save docs for SGI 2016-12-31 12:33:33 +00:00
wiredfool
55e068d52e Removed duplicate open duration, clarified, listed all save options, added tuple for duration 2016-12-27 03:09:55 -08:00
wiredfool
87092ad4f8 can pass list of integer to set different duration for each frame when saving GIF 2016-12-27 02:44:05 -08:00
Andrew Murray
6380f8da03 Fixed typo [ci skip] 2016-10-28 19:59:40 +11:00
Alex Chan
6d38015474
Fix typo in description of ICO 2016-10-27 06:29:32 +01:00
Alex Chan
efa94a78e6
Move ICO out of the list of read-only file formats
Fixes #2179.
2016-10-26 19:41:40 +01:00
wiredfool
69ff457f2e release notes, docs 2016-10-03 07:05:03 -07:00
Andrew Murray
3e99ef8a43 Added import to docs [ci skip] 2016-09-29 20:11:38 +10:00
Andrew Murray
5c0580adc2 Added note to docs regarding draft mode formats [ci skip] 2016-09-29 20:11:19 +10:00
Andrew Murray
f51595546a Updated PCD description in docs [ci skip] 2016-09-29 20:10:58 +10:00
Hugo
0a0fe292ec Merge pull request #2134 from madphysicist/patch-1
Typo in doc
2016-09-27 20:08:45 +03:00
Joseph Fox-Rabinovitz
c4b9927b0a Missing backtick
[ci skip]
2016-09-27 12:46:19 -04:00
Joseph Fox-Rabinovitz
dcad278865 Typo in doc 2016-09-27 12:42:18 -04:00
Andrew Murray
4c6b12df00 Updated documentation 2016-09-25 21:22:38 +10:00
wiredfool
21d1fd6be0 Merge pull request #2125 from radarhere/macos
Renamed references to OS X to macOS
2016-09-25 09:31:01 +01:00
Andrew Murray
9a54442303 Added release notes and improved documentation for append_images [ci skip] 2016-09-23 22:00:31 +10:00
Andrew Murray
b58f76dc4f Renamed references to OS X to macOS 2016-09-23 21:12:03 +10:00
Andrew Murray
b346ed36f1 Added append_images parameter to GIF saving 2016-09-11 12:04:01 +10:00
Andrew Murray
00cb14afd7 Removed trailing whitespace 2016-09-03 12:19:04 +10:00
Paul Korir
5a8ecc6d60 Update image-file-formats.rst 2016-08-07 12:31:56 +01:00
Paul Korir
608a7776b2 Table of contents
Added a table of contents of the available support file formats
2016-08-07 12:31:09 +01:00
homm
41f03a05e5 add filters to concepts 2016-07-02 01:56:56 +03:00
Andrew Murray
ebf2121338 Removed trailing whitespace 2016-07-01 22:05:18 +10:00
Andrew Murray
8274c878a4 Fixed typos [ci skip] 2016-07-01 21:42:36 +10:00
wiredfool
872fd0652e Merge pull request #1846 from wiredfool/pr_1826
EPS + CMYK
2016-06-30 15:23:24 +01:00
homm
fc448ddbdf Filters comparison table 2016-06-30 15:21:45 +03:00
wiredfool
be0448296e Split ImagePlugin/File Decoders docs, added info about new experimental methods 2016-06-29 22:10:13 +01:00
wiredfool
0064e2f6c0 Merge pull request #1982 from wiredfool/pr_1909
Docs for pr#1909
2016-06-25 11:12:19 +01:00
wiredfool
2831acd89b Updates for pr#1909 2016-06-25 11:10:11 +01:00
wiredfool
74547b5251 Notes on EPS reading CMYK and returning RGB 2016-05-26 22:25:37 +01:00
Andrew Murray
a9b432f9b2 Updated example decoder 2016-05-08 12:41:02 +10:00
wiredfool
716a1ee833 Merge pull request #1877 from radarhere/tutorial
Fixed tutorial code and added explanation
2016-05-03 21:16:38 +01:00
wiredfool
a0602fb68c Merge pull request #1882 from wiredfool/pr_1840
Fix Transparency for PNG images
2016-05-03 19:51:04 +01:00
Andrew Murray
44c5d0175e Fixed code and added explanation to a tutorial example [ci skip] 2016-05-02 18:57:46 +10:00
wiredfool
562bd8519b Merge pull request #1844 from wiredfool/docs_linkcheck
Fix Docs failures.
2016-04-19 16:33:59 +01:00
wiredfool
1762bff3af Fix warnings in docs, we're not using terms or keywords 2016-04-19 07:29:59 -07:00
Oliver Tonnhofer
eb0f400e02 extend documentation for PNG transparency 2016-04-19 10:21:54 +02:00
Andrew Murray
ea3dcfda0c Changed documentation to refer to ImageSequence Iterator class [ci skip] 2016-04-16 11:43:28 +10:00
Andrew Murray
2a9c303d73 Changed documented name of JPEG property [ci skip] 2016-03-28 13:32:49 +11:00
Andrew Murray
c3e0a685be Corrected documentation [ci skip] 2016-02-28 23:29:12 +11:00
Andrew Murray
f9f2c20505 Added FTEX documentation to Image File Formats list [ci skip] 2016-02-03 00:02:46 +11:00
wiredfool
99e88c7796 Merge pull request #1653 from wiredfool/gbr
Fixed long broken GBRImagePlugin
2016-01-31 09:03:03 -08:00
Andrew Murray
6994da9287 Clarified YCbCr handling [ci skip] 2016-01-23 12:40:38 +11:00
wiredfool
00dc657824 Documentation for GBR 2016-01-08 07:25:42 -08:00
Jerome Leclanche
b9a71cafbc Add a basic DDS image plugin
Only supports DXT1 and DXT5 for now.
The pixel formats ideally should be supported in decode.c instead,
but for now this is good enough.

Fixes #252
2016-01-05 17:11:17 +02:00
wiredfool
a72000c7c1 Merge pull request #1636 from wiredfool/docs-3.1
Replacing fromstring with frombytes
2016-01-04 01:51:22 -08:00
wiredfool
b56e1f74f3 s/fromstring/frombytes/ 2016-01-04 01:46:06 -08:00
wiredfool
e5076a3278 Merge pull request #1620 from wiredfool/issue_1597
Partial fix for #1597
2016-01-01 07:47:58 -08:00
Hugo
55a037c50b Merge pull request #1531 from wiredfool/exif_div_zero
Divide by zero in Exif
2015-12-31 15:15:20 +02:00
wiredfool
36c48150ea Docs formatting 2015-12-30 13:52:13 -08:00
wiredfool
a9d1cda126 Docs for crashing fix 2015-12-30 13:52:01 -08:00
wiredfool
48e4e0722e Documentation for IFDRational 2015-12-29 21:33:10 +00:00
Andrew Murray
46b11f1beb Moved PIXAR and XV Thumbnails into the read-only section [ci skip] 2015-12-30 00:15:13 +11:00
Andrew Murray
44c8a85386 Changed formats read total [ci skip] 2015-12-30 00:05:36 +11:00
Andrew Murray
4cbe4d71ba Removed duplicate documentation and formatted heading [ci skip] 2015-12-30 00:05:09 +11:00
Andrew Murray
e6541cb3d6 Updated ICNS documentation [ci skip] 2015-12-29 23:51:05 +11:00
Andrew Murray
6bd7e7f02d Removed trailing whitespace 2015-10-11 21:24:35 +11:00
wiredfool
92f5133469 Merge pull request #1445 from radarhere/pdf
Added PDF multipage saving
2015-10-01 05:33:11 -07:00
Andrew Murray
125ec9c650 Added documentation 2015-10-01 19:45:27 +10:00
Alex Clark
aa263857f3 Clean up Handbook
A while back somebody awesome forked the PIL Handbook (http://effbot.org/imagingbook/pil-index.htm) to Pillow. IIRC we tried to incorporate the handbook "seemlessly", which apparently meant not using the word "handbook" anywhere. Now that seems confusing, so I'm reorganizing all the handbook content under one section named "Handbook".

This commit:

- Moves guides.rst to handbook/index.rst
- Moves appendices.rst to handbook/
- Removes developer.rst from handbook index.
- Removes porting-pil-to-pillow.rst from handbook index.

Unrelated to the above:

- Shorten title "Porting existing PIL-based code to Pillow" to "Porting"
- Move text "Porting existing PIL-based code to Pillow" to faux sub-header (bold text not sub-header because there's only one section.)

"Porting" may be better named "Migrating", not sure yet.
2015-09-30 06:38:51 -04:00
Andrew Murray
d097d44fa1 Updated documentation and removed deprecated comment 2015-09-23 22:14:06 +10:00
wiredfool
de34547f33 Merge pull request #1419 from wiredfool/tiff-ifd-rewrite
Tiff ImageFileDirectory Rewrite
2015-09-20 10:36:19 +01:00
wiredfool
a38fb2d0c5 Merge pull request #1384 from radarhere/gifparams
GIF 89a and animation parameters
2015-09-18 14:41:45 +01:00
Andrew Murray
01356a9ad8 Improved documentation [ci skip] 2015-09-18 21:41:36 +10:00
wiredfool
1614f2fdb5 Documentation for IFD Changes 2015-09-14 07:01:57 -07:00
Charles Merriam
5f2155d383 Update concepts.rst; clarify 'bands' 2015-09-03 13:26:04 -07:00
Charles Merriam
f211601ecd In tutorial of pasting images, add to mask text.
Using an RGBA image as its own mask is a common question.  It shows up in a dozen Stack Overflow questions, e.g.,  (http://stackoverflow.com/questions/5324647/how-to-merge-a-transparent-png-image-with-another-image-using-pil).    Adding a sentence to the tutorial gives people a chance of noticing this.
2015-08-23 18:30:39 -07:00
David Schmidt
ac7b4b825a gif doc improved
- missing closing brackt
- EOFError mentioned
2015-06-28 13:04:46 +02:00
wiredfool
1f9f9cc206 Merge pull request #1170 from homm/fix-docs
Fix JPEG image format docs
2015-06-17 12:29:43 -07:00
Alex Clark
97cd5e1ea1 Add note about appendices [ci skip] 2015-04-04 08:50:47 -04:00
homm
c2c586dcc1 This is not so since #1029 2015-04-03 00:28:25 +03:00
Mikhail Korobov
4713b41ed7 DOC document compress_level Image.save PNG option. 2015-01-15 23:14:30 +05:00
Mikhail Korobov
52cbd123a2 DOC fix "Write Your Own File Decoder" link in Image API docs 2015-01-07 04:12:37 +05:00
Mikhail Korobov
5e9b770ddb DOC add a missing header markup 2015-01-07 03:39:57 +05:00
Hugo
b3e09122e5 Merge pull request #1060 from wiredfool/png-dos
Fix potential PNG decompression DOS
2014-12-31 20:32:41 +02:00
wiredfool
a59eb3975f Documentation Update for PNG zlib DOS 2014-12-30 17:06:38 -08:00
wiredfool
6ffe9e1689 Merge pull request #1058 from hugovk/anntzer-tiff-resolution2
Tests for PR #1044: Use underscores, not spaces, in TIFF tag kwargs
2014-12-29 15:23:20 -08:00
hugovk
1b8ba191e9 Update docs to remove reference to textsize() 2014-12-27 23:05:34 +02:00
Antony Lee
800480db52 Use underscores, not spaces, in TIFF tag kwargs.
kwargs with spaces ("x resolution", "y resolution", "resolution unit"
and "date time") are deprecated.
2014-12-09 15:17:33 -08:00
homm
43d5d06ce4 rename Image.ANTIALIAS to Image.LANCZOS 2014-11-28 01:41:56 +03:00
wiredfool
e16ee15f2c Merge pull request #997 from homm/replace-resize
Replace resize method
2014-11-27 10:26:48 -08:00
Hugo
0accf25947 Merge pull request #1021 from wiredfool/save-docs
Docs for Image.save [ci skip]
2014-11-20 08:03:15 +02:00
wiredfool
c770984867 Document all the save params for PNG, and their references [ci skip] 2014-11-19 15:35:33 -08:00
wiredfool
eedff2d59b Mode reference anchor 2014-11-19 12:49:06 -08:00
homm
1a097d2e02 Merge commit 'e0b94d65bedb4a2124228aa579686a3ba2974d11' into replace-resize 2014-11-19 13:45:04 +03:00
homm
f88878c20b reflect changes in documentation 2014-11-09 21:52:16 +03:00
Herb
79c7c7a01a add tests and docs 2014-11-08 14:49:50 +08:00
Mike Driscoll
7bed246e85 Update tutorial.rst
Just a couple grammatical fixes
2014-10-03 10:00:50 -05:00
Mike Driscoll
ae5d01995e Update overview.rst 2014-10-02 13:43:28 -05:00
Hugo
7713bab431 Fix SPIDER homepage link
[CI skip]
2014-10-01 13:51:08 +03:00
wiredfool
cb166786df More JPEG documentation, fixes #890 2014-09-24 16:30:39 -07:00
tyrannosaurus
b1187c7dc7 Fix heading 2014-09-13 20:36:14 +04:00
Hugo
99cb19b671 Remove a rogue "=" from the end of a line
It wasn't there in the original PIL handbook: http://effbot.org/imagingbook/format-jpeg.htm

[CI skip]
2014-08-15 13:58:54 +03:00
Eric W. Brown
310bf90222 Merge branch 'master' of https://github.com/python-pillow/Pillow 2014-07-28 11:00:49 -04:00
wiredfool
0dabb8ea1c Image Mode Docs 2014-07-26 09:59:33 -07:00
Eric W. Brown
3b3f58d1bc Changed PIL to Pillow for newly supported formats. 2014-07-25 14:47:07 -04:00
Eric W. Brown
dcd171c1b8 Minor refactoring per discussion and MPO docs. 2014-07-24 11:16:12 -04:00
wiredfool
06ad0b092a Added docs for JPEG qtables and subsampling 2014-06-20 01:39:42 -07:00
wiredfool
8c6a4c0299 Docs changes for close/context manager 2014-04-17 21:53:49 -07:00
wiredfool
e55c6c5471 added version added 2014-04-01 22:21:01 -07:00
Alastair Houghton
5dd67abd71 Merge branch 'master' into icns-support 2014-03-28 09:15:20 +00:00
wiredfool
2b81156619 merge to master 2014-03-26 18:46:35 -07:00
Alastair Houghton
8eec69d39e Merging JPEG 2000 support with .icns plugin. 2014-03-24 17:22:59 +00:00
Alastair Houghton
299c278e66 Improved icns support 2014-03-24 16:10:23 +00:00
Alastair Houghton
efd47ce63b Added documentation for JPEG 2000. 2014-03-14 16:39:09 +00:00
Marek Šuppa
a6336e7ecc Removed empty line
It seems that this empty line is what makes this code in the tutorial not highlighted 

http://pillow.readthedocs.org/en/latest/handbook/tutorial.html#a-sequence-iterator-class
2014-01-16 12:20:19 +01:00
Alex Clark ☺
d48f301d57 Merge pull request #423 from wiredfool/trns-png
Support for PNG tRNS header when converting from RGB->RGBA
2013-12-28 05:56:03 -08:00
wiredfool
543f96de61 Merge from master 2013-11-30 09:57:00 -08:00
Alex Clark ☺
07bdb286a8 Merge pull request #409 from wiredfool/plugin_doc
Docs: Noted import change for Image Plugins. Fixes #404, plugin not foun...
2013-11-29 15:16:06 -08:00