diff --git a/Tests/test_file_jpeg.py b/Tests/test_file_jpeg.py index 33f8454021d..b66fda8dd2b 100644 --- a/Tests/test_file_jpeg.py +++ b/Tests/test_file_jpeg.py @@ -825,7 +825,7 @@ def test_no_dpi_in_exif(self) -> None: 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 d0e64a35ee1..3aefa073ce2 100644 --- a/src/PIL/JpegPresets.py +++ b/src/PIL/JpegPresets.py @@ -37,7 +37,7 @@ :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