mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-28 02:04:36 +03:00
Update http to https
This commit is contained in:
parent
0f9233623e
commit
53e5702557
|
@ -1983,7 +1983,7 @@ Changelog (Pillow)
|
||||||
- Use PyCapsule for py3.1 #238 (fixes #237)
|
- Use PyCapsule for py3.1 #238 (fixes #237)
|
||||||
[wiredfool]
|
[wiredfool]
|
||||||
|
|
||||||
- Workaround for: http://bugs.python.org/issue16754 in 3.2.x < 3.2.4 and 3.3.0.
|
- Workaround for: https://bugs.python.org/issue16754 in 3.2.x < 3.2.4 and 3.3.0.
|
||||||
|
|
||||||
2.0.0 (2013-03-15)
|
2.0.0 (2013-03-15)
|
||||||
------------------
|
------------------
|
||||||
|
@ -2132,7 +2132,7 @@ Changelog (Pillow)
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
- Remove support for ``import Image``, etc. from the standard namespace. ``from PIL import Image`` etc. now required.
|
- Remove support for ``import Image``, etc. from the standard namespace. ``from PIL import Image`` etc. now required.
|
||||||
- Forked PIL based on `Hanno Schlichting's re-packaging <http://dist.plone.org/thirdparty/PIL-1.1.7.tar.gz>`_
|
- Forked PIL based on `Hanno Schlichting's re-packaging <https://dist.plone.org/thirdparty/PIL-1.1.7.tar.gz>`_
|
||||||
[aclark4life]
|
[aclark4life]
|
||||||
|
|
||||||
Pre-fork
|
Pre-fork
|
||||||
|
|
|
@ -27,10 +27,10 @@
|
||||||
# image data from electron microscopy and tomography.
|
# image data from electron microscopy and tomography.
|
||||||
#
|
#
|
||||||
# Spider home page:
|
# Spider home page:
|
||||||
# http://spider.wadsworth.org/spider_doc/spider/docs/spider.html
|
# https://spider.wadsworth.org/spider_doc/spider/docs/spider.html
|
||||||
#
|
#
|
||||||
# Details about the Spider image format:
|
# Details about the Spider image format:
|
||||||
# http://spider.wadsworth.org/spider_doc/spider/docs/image_doc.html
|
# https://spider.wadsworth.org/spider_doc/spider/docs/image_doc.html
|
||||||
#
|
#
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
|
@ -118,7 +118,7 @@ class SunImageFile(ImageFile.ImageFile):
|
||||||
# RGB looks similar to standard, but RGB byte order
|
# RGB looks similar to standard, but RGB byte order
|
||||||
# TIFF and IFF mean that they were converted from T/IFF
|
# TIFF and IFF mean that they were converted from T/IFF
|
||||||
# Experimental means that it's something else.
|
# Experimental means that it's something else.
|
||||||
# (http://www.fileformat.info/format/sunraster/egff.htm)
|
# (https://www.fileformat.info/format/sunraster/egff.htm)
|
||||||
|
|
||||||
if file_type in (0, 1, 3, 4, 5):
|
if file_type in (0, 1, 3, 4, 5):
|
||||||
self.tile = [("raw", (0, 0)+self.size, offset, (rawmode, stride))]
|
self.tile = [("raw", (0, 0)+self.size, offset, (rawmode, stride))]
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# the WalImageFile.open() function instead.
|
# the WalImageFile.open() function instead.
|
||||||
|
|
||||||
# This reader is based on the specification available from:
|
# This reader is based on the specification available from:
|
||||||
# http://www.flipcode.com/archives/Quake_2_BSP_File_Format.shtml
|
# https://www.flipcode.com/archives/Quake_2_BSP_File_Format.shtml
|
||||||
# and has been tested with a few sample files found using google.
|
# and has been tested with a few sample files found using google.
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
|
@ -168,7 +168,7 @@ class TestImage(PillowTestCase):
|
||||||
self.assertTrue(im1 != im2)
|
self.assertTrue(im1 != im2)
|
||||||
|
|
||||||
def test_alpha_composite(self):
|
def test_alpha_composite(self):
|
||||||
# http://stackoverflow.com/questions/3374878
|
# https://stackoverflow.com/questions/3374878
|
||||||
# Arrange
|
# Arrange
|
||||||
from PIL import ImageDraw
|
from PIL import ImageDraw
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,7 @@ class TestNumpy(PillowTestCase):
|
||||||
self.assert_image(to_image(numpy.uint8, 4), "RGBA", (10, 10))
|
self.assert_image(to_image(numpy.uint8, 4), "RGBA", (10, 10))
|
||||||
|
|
||||||
# based on an erring example at
|
# based on an erring example at
|
||||||
# http://stackoverflow.com/questions/10854903/what-is-causing-dimension-dependent-attributeerror-in-pil-fromarray-function
|
# https://stackoverflow.com/questions/10854903/what-is-causing-dimension-dependent-attributeerror-in-pil-fromarray-function
|
||||||
def test_3d_array(self):
|
def test_3d_array(self):
|
||||||
size = (5, TEST_IMAGE_SIZE[0], TEST_IMAGE_SIZE[1])
|
size = (5, TEST_IMAGE_SIZE[0], TEST_IMAGE_SIZE[1])
|
||||||
a = numpy.ones(size, dtype=numpy.uint8)
|
a = numpy.ones(size, dtype=numpy.uint8)
|
||||||
|
|
|
@ -828,7 +828,7 @@ static cmsBool _calculate_rgb_primaries(CmsProfileObject* self, cmsCIEXYZTRIPLE*
|
||||||
cmsHPROFILE hXYZ;
|
cmsHPROFILE hXYZ;
|
||||||
cmsHTRANSFORM hTransform;
|
cmsHTRANSFORM hTransform;
|
||||||
|
|
||||||
/* http://littlecms2.blogspot.com/2009/07/less-is-more.html */
|
/* https://littlecms2.blogspot.com/2009/07/less-is-more.html */
|
||||||
|
|
||||||
// double array of RGB values with max on each identity
|
// double array of RGB values with max on each identity
|
||||||
hXYZ = cmsCreateXYZProfile();
|
hXYZ = cmsCreateXYZProfile();
|
||||||
|
|
2
docs/_templates/sidebarhelp.html
vendored
2
docs/_templates/sidebarhelp.html
vendored
|
@ -1,4 +1,4 @@
|
||||||
<h3>Need help?</h3>
|
<h3>Need help?</h3>
|
||||||
<p>
|
<p>
|
||||||
You can get help via IRC at <a href="irc://irc.freenode.net#pil">irc://irc.freenode.net#pil</a> or Stack Overflow <a href="http://stackoverflow.com/questions/tagged/pillow">here</a> and <a href="http://stackoverflow.com/questions/tagged/pil">here</a>. Please <a href="https://github.com/python-pillow/Pillow/issues/new">report issues on GitHub</a>.
|
You can get help via IRC at <a href="irc://irc.freenode.net#pil">irc://irc.freenode.net#pil</a> or Stack Overflow <a href="https://stackoverflow.com/questions/tagged/pillow">here</a> and <a href="https://stackoverflow.com/questions/tagged/pil">here</a>. Please <a href="https://github.com/python-pillow/Pillow/issues/new">report issues on GitHub</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -514,8 +514,8 @@ the output format must be specified explicitly::
|
||||||
For more information about the SPIDER image processing package, see the
|
For more information about the SPIDER image processing package, see the
|
||||||
`SPIDER homepage`_ at `Wadsworth Center`_.
|
`SPIDER homepage`_ at `Wadsworth Center`_.
|
||||||
|
|
||||||
.. _SPIDER homepage: http://spider.wadsworth.org/spider_doc/spider/docs/spider.html
|
.. _SPIDER homepage: https://spider.wadsworth.org/spider_doc/spider/docs/spider.html
|
||||||
.. _Wadsworth Center: http://www.wadsworth.org/
|
.. _Wadsworth Center: https://www.wadsworth.org/
|
||||||
|
|
||||||
TIFF
|
TIFF
|
||||||
^^^^
|
^^^^
|
||||||
|
|
|
@ -243,7 +243,7 @@ have the full Xcode package installed. It may be necessary to run
|
||||||
tools.
|
tools.
|
||||||
|
|
||||||
The easiest way to install external libraries is via `Homebrew
|
The easiest way to install external libraries is via `Homebrew
|
||||||
<http://brew.sh/>`_. After you install Homebrew, run::
|
<https://brew.sh/>`_. After you install Homebrew, run::
|
||||||
|
|
||||||
$ brew install libtiff libjpeg webp little-cms2
|
$ brew install libtiff libjpeg webp little-cms2
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ ImagingSunRleDecode(Imaging im, ImagingCodecState state, UINT8* buf, int bytes)
|
||||||
if (bytes < 3)
|
if (bytes < 3)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* from (http://www.fileformat.info/format/sunraster/egff.htm)
|
/* from (https://www.fileformat.info/format/sunraster/egff.htm)
|
||||||
|
|
||||||
For example, a run of 100 pixels with the value of
|
For example, a run of 100 pixels with the value of
|
||||||
0Ah would encode as the values 80h 64h 0Ah. A
|
0Ah would encode as the values 80h 64h 0Ah. A
|
||||||
|
@ -68,7 +68,7 @@ ImagingSunRleDecode(Imaging im, ImagingCodecState state, UINT8* buf, int bytes)
|
||||||
78h. 100 pixels, n=100, not 100 pixels, n=99.
|
78h. 100 pixels, n=100, not 100 pixels, n=99.
|
||||||
|
|
||||||
But Wait! There's More!
|
But Wait! There's More!
|
||||||
(http://www.fileformat.info/format/sunraster/spec/598a59c4fac64c52897585d390d86360/view.htm)
|
(https://www.fileformat.info/format/sunraster/spec/598a59c4fac64c52897585d390d86360/view.htm)
|
||||||
|
|
||||||
If the first byte is 0x80, and the second byte is
|
If the first byte is 0x80, and the second byte is
|
||||||
not zero, the record is three bytes long. The
|
not zero, the record is three bytes long. The
|
||||||
|
|
|
@ -72,7 +72,7 @@ def install():
|
||||||
# explicitly don't enable if environment says 1 processor
|
# explicitly don't enable if environment says 1 processor
|
||||||
try:
|
try:
|
||||||
# bug, only enable if we can make a Pool. see issue #790 and
|
# bug, only enable if we can make a Pool. see issue #790 and
|
||||||
# http://stackoverflow.com/questions/6033599/oserror-38-errno-38-with-multiprocessing
|
# https://stackoverflow.com/questions/6033599/oserror-38-errno-38-with-multiprocessing
|
||||||
pool = Pool(2)
|
pool = Pool(2)
|
||||||
CCompiler.compile = _mp_compile
|
CCompiler.compile = _mp_compile
|
||||||
except Exception as msg:
|
except Exception as msg:
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -718,7 +718,7 @@ try:
|
||||||
long_description=_read('README.rst').decode('utf-8'),
|
long_description=_read('README.rst').decode('utf-8'),
|
||||||
author='Alex Clark (Fork Author)',
|
author='Alex Clark (Fork Author)',
|
||||||
author_email='aclark@aclark.net',
|
author_email='aclark@aclark.net',
|
||||||
url='http://python-pillow.org',
|
url='https://python-pillow.org',
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 6 - Mature",
|
"Development Status :: 6 - Mature",
|
||||||
"Topic :: Multimedia :: Graphics",
|
"Topic :: Multimedia :: Graphics",
|
||||||
|
@ -753,7 +753,7 @@ The headers or library files could not be found for %s,
|
||||||
a required dependency when compiling Pillow from source.
|
a required dependency when compiling Pillow from source.
|
||||||
|
|
||||||
Please see the install instructions at:
|
Please see the install instructions at:
|
||||||
http://pillow.readthedocs.io/en/latest/installation.html
|
https://pillow.readthedocs.io/en/latest/installation.html
|
||||||
|
|
||||||
""" % (str(err))
|
""" % (str(err))
|
||||||
sys.stderr.write(msg)
|
sys.stderr.write(msg)
|
||||||
|
|
|
@ -37,7 +37,7 @@ libs = {
|
||||||
'dir': 'tiff-4.0.6',
|
'dir': 'tiff-4.0.6',
|
||||||
},
|
},
|
||||||
'freetype': {
|
'freetype': {
|
||||||
'url': 'http://download.savannah.gnu.org/releases/freetype/freetype-2.7.1.tar.gz',
|
'url': 'https://download.savannah.gnu.org/releases/freetype/freetype-2.7.1.tar.gz',
|
||||||
'filename': PILLOW_DEPENDS_DIR + 'freetype-2.7.1.tar.gz',
|
'filename': PILLOW_DEPENDS_DIR + 'freetype-2.7.1.tar.gz',
|
||||||
'hash': 'md5:78701bee8d249578d83bb9a2f3aa3616',
|
'hash': 'md5:78701bee8d249578d83bb9a2f3aa3616',
|
||||||
'dir': 'freetype-2.7.1',
|
'dir': 'freetype-2.7.1',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user