From bc00c26edd6b556d0c429508daf47ec9bf9e0e76 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 4 Mar 2024 22:48:51 +1100 Subject: [PATCH] Corrected links --- Tests/test_file_jpeg.py | 2 +- src/PIL/JpegPresets.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/test_file_jpeg.py b/Tests/test_file_jpeg.py index 33f845402..b66fda8dd 100644 --- a/Tests/test_file_jpeg.py +++ b/Tests/test_file_jpeg.py @@ -825,7 +825,7 @@ class TestFileJpeg: with Image.open("Tests/images/no-dpi-in-exif.jpg") as im: # Act / Assert # "When the image resolution is unknown, 72 [dpi] is designated." - # https://exiv2.org/tags.html + # https://web.archive.org/web/20240227115053/https://exiv2.org/tags.html assert im.info.get("dpi") == (72, 72) def test_invalid_exif(self) -> None: diff --git a/src/PIL/JpegPresets.py b/src/PIL/JpegPresets.py index d0e64a35e..3aefa073c 100644 --- a/src/PIL/JpegPresets.py +++ b/src/PIL/JpegPresets.py @@ -37,7 +37,7 @@ You can get the subsampling of a JPEG with the :func:`.JpegImagePlugin.get_sampling` function. In JPEG compressed data a JPEG marker is used instead of an EXIF tag. -(ref.: https://exiv2.org/tags.html) +(ref.: https://web.archive.org/web/20240227115053/https://exiv2.org/tags.html) Quantization tables