1 diff --git a/pyproject.toml b/pyproject.toml
2 index d045458f..efa9161d 100644
5 @@ -16,7 +16,7 @@ dependencies = [
8 "pdfminer.six>=20220319",
9 - "pi-heif", # Heif image format - maintainers: if this is removed, it will NOT break
10 + "pillow-heif", # Heif image format - maintainers: if this is removed, it will NOT break
14 diff --git a/src/ocrmypdf/_pipeline.py b/src/ocrmypdf/_pipeline.py
15 index 043a78a0..522197b1 100644
16 --- a/src/ocrmypdf/_pipeline.py
17 +++ b/src/ocrmypdf/_pipeline.py
18 @@ -42,7 +42,7 @@ from ocrmypdf.pdfinfo import Colorspace, Encoding, PageInfo, PdfInfo
19 from ocrmypdf.pluginspec import OrientationConfidence
22 - from pi_heif import register_heif_opener
23 + from pillow_heif import register_heif_opener
26 def register_heif_opener():