Skip to content

Commit

Permalink
bump the minimum required libheif version to 1.17.0 (#214)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
  • Loading branch information
bigcat88 committed Feb 27, 2024
1 parent 7080ad6 commit 9f4acd0
Show file tree
Hide file tree
Showing 5 changed files with 479 additions and 1,139 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ All notable changes to this project will be documented in this file.

### Changed

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

## [0.15.0 - 2024-02-03]

Expand Down
5 changes: 3 additions & 2 deletions docker/from_src/Almalinux_9.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM almalinux:9 as base
RUN \
dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm -y && \
dnf makecache && \
dnf install -y python3 python3-devel python3-pip libheif-freeworld && \
dnf install -y libheif-devel && \
dnf install -y python3 python3-devel python3-pip cmake && \
dnf install -y x265-devel libaom-devel && \
dnf groupinstall -y 'Development Tools'

RUN \
Expand All @@ -15,6 +15,7 @@ FROM base as build_test
COPY . /pillow_heif

RUN \
python3 pillow_heif/libheif/linux_build_libs.py && \
if [ `getconf LONG_BIT` = 64 ]; then \
python3 -m pip install -v "pillow_heif/.[tests]"; \
else \
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Linux
| **And of course you can build your own libheif library with your preferred encoders and decoders and use what you like.**
There is many different ways how to build it from source. Main requirements are:
* ``libheif`` should be version >= ``1.16.1`` version(recommended version is ``1.17.3`` or higher).
* ``libheif`` should be version >= ``1.17.0`` version(recommended version is ``1.17.3`` or higher).
* ``x265`` should support 10 - 12 bit encoding(if you want to save in that bitness)
* ``aom`` should be >= ``3.3.0`` version
* ``libde265`` should be >= ``1.0.8`` version
Expand Down
Loading

0 comments on commit 9f4acd0

Please sign in to comment.