mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
commit
638ba163f4
|
@ -174,7 +174,7 @@ Previously, if a BMP file was too large, an ``OSError`` would be raised. Now,
|
||||||
Dark theme for docs
|
Dark theme for docs
|
||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
The https://pillow.readthedocs.io documentation will use a dark theme if the the user has requested the system use one. Uses the ``prefers-color-scheme`` CSS media query.
|
The https://pillow.readthedocs.io documentation will use a dark theme if the user has requested the system use one. Uses the ``prefers-color-scheme`` CSS media query.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1324,7 +1324,7 @@ class Image:
|
||||||
|
|
||||||
def getextrema(self):
|
def getextrema(self):
|
||||||
"""
|
"""
|
||||||
Gets the the minimum and maximum pixel values for each band in
|
Gets the minimum and maximum pixel values for each band in
|
||||||
the image.
|
the image.
|
||||||
|
|
||||||
:returns: For a single-band image, a 2-tuple containing the
|
:returns: For a single-band image, a 2-tuple containing the
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
##
|
##
|
||||||
# Image plugin for the Spider image format. This format is is used
|
# Image plugin for the Spider image format. This format is used
|
||||||
# by the SPIDER software, in processing image data from electron
|
# by the SPIDER software, in processing image data from electron
|
||||||
# microscopy and tomography.
|
# microscopy and tomography.
|
||||||
##
|
##
|
||||||
|
|
|
@ -125,7 +125,7 @@ ImagingGifDecode(Imaging im, ImagingCodecState state, UINT8 *buffer, Py_ssize_t
|
||||||
|
|
||||||
context->blocksize--;
|
context->blocksize--;
|
||||||
|
|
||||||
/* New bits are shifted in from from the left. */
|
/* New bits are shifted in from the left. */
|
||||||
context->bitbuffer |= (INT32)c << context->bitcount;
|
context->bitbuffer |= (INT32)c << context->bitcount;
|
||||||
context->bitcount += 8;
|
context->bitcount += 8;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user