Skip to content

Commit 9f4acd0

Browse files
authored
bump the minimum required libheif version to 1.17.0 (#214)
Signed-off-by: Alexander Piskun <[email protected]>
1 parent 7080ad6 commit 9f4acd0

File tree

5 files changed

+479
-1139
lines changed

5 files changed

+479
-1139
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ All notable changes to this project will be documented in this file.
44

55
### Changed
66

7-
- `subsampling` parameter for encoding has higher priority then `chroma`.
7+
- `subsampling` parameter for encoding has higher priority then `chroma`. #213
8+
- the minimum required `libehif` version is `1.17.0`. #214
89

910
## [0.15.0 - 2024-02-03]
1011

docker/from_src/Almalinux_9.Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ FROM almalinux:9 as base
33
RUN \
44
dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm -y && \
55
dnf makecache && \
6-
dnf install -y python3 python3-devel python3-pip libheif-freeworld && \
7-
dnf install -y libheif-devel && \
6+
dnf install -y python3 python3-devel python3-pip cmake && \
7+
dnf install -y x265-devel libaom-devel && \
88
dnf groupinstall -y 'Development Tools'
99

1010
RUN \
@@ -15,6 +15,7 @@ FROM base as build_test
1515
COPY . /pillow_heif
1616

1717
RUN \
18+
python3 pillow_heif/libheif/linux_build_libs.py && \
1819
if [ `getconf LONG_BIT` = 64 ]; then \
1920
python3 -m pip install -v "pillow_heif/.[tests]"; \
2021
else \

docs/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Linux
3535
| **And of course you can build your own libheif library with your preferred encoders and decoders and use what you like.**
3636
3737
There is many different ways how to build it from source. Main requirements are:
38-
* ``libheif`` should be version >= ``1.16.1`` version(recommended version is ``1.17.3`` or higher).
38+
* ``libheif`` should be version >= ``1.17.0`` version(recommended version is ``1.17.3`` or higher).
3939
* ``x265`` should support 10 - 12 bit encoding(if you want to save in that bitness)
4040
* ``aom`` should be >= ``3.3.0`` version
4141
* ``libde265`` should be >= ``1.0.8`` version

0 commit comments

Comments
 (0)