From c2cfd8e7e41bff44805f87cf67a973a2c2ce07db Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 18 Feb 2017 15:44:22 +1100 Subject: [PATCH 1/2] Changed http URL to https --- PIL/JpegPresets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PIL/JpegPresets.py b/PIL/JpegPresets.py index ece33bbbe..6fda20aec 100644 --- a/PIL/JpegPresets.py +++ b/PIL/JpegPresets.py @@ -62,7 +62,7 @@ The tables format between im.quantization and quantization in presets differ in You can convert the dict format to the preset format with the `JpegImagePlugin.convert_dict_qtables(dict_qtables)` function. -Libjpeg ref.: http://web.archive.org/web/20120328125543/http://www.jpegcameras.com/libjpeg/libjpeg-3.html +Libjpeg ref.: https://web.archive.org/web/20120328125543/http://www.jpegcameras.com/libjpeg/libjpeg-3.html """ From 16c8b010261b3c4164bddaf53637fd6483ef2078 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 18 Feb 2017 15:53:01 +1100 Subject: [PATCH 2/2] Replaced broken URL with web.archive.org URL --- PIL/EpsImagePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PIL/EpsImagePlugin.py b/PIL/EpsImagePlugin.py index 8dd3e6857..867113a6f 100644 --- a/PIL/EpsImagePlugin.py +++ b/PIL/EpsImagePlugin.py @@ -321,7 +321,7 @@ class EpsImageFile(ImageFile.ImageFile): # EPS can contain binary data # or start directly with latin coding # more info see: - # http://partners.adobe.com/public/developer/en/ps/5002.EPSF_Spec.pdf + # https://web.archive.org/web/20160528181353/http://partners.adobe.com/public/developer/en/ps/5002.EPSF_Spec.pdf offset = i32(s[4:8]) length = i32(s[8:12]) else: