You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-6Lines changed: 20 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,4 @@
1
-
# pillow-avif-plugin
2
-
3
-
This is a plugin that adds support for AVIF files until official support has been added (see [this pull request](https://github.com/python-pillow/Pillow/pull/5201)).
4
-
5
-
To register this plugin with pillow you will need to add `import pillow_avif` somewhere in your application.
1
+
# pillow-avif-plugin quick hack to support HDR10 ouput
6
2
7
3
## how to build and install on Windows
8
4
@@ -12,12 +8,30 @@ To register this plugin with pillow you will need to add `import pillow_avif` so
12
8
- install TortoiseGit
13
9
- install MSYS2 and add C:\MSYS\usr\bin to PATH environment variable
14
10
- download https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/nasm-2.15.05-win64.zip , unzip onto C:\apps\NASM and add D:\apps\NASM to PATH environment variable.
15
-
- on Administrator miniforge prompt, pip install pillow meson
11
+
- on Administrator miniforge prompt, pip install meson
12
+
- build and install quick hack pillow to support R16G16B16 https://github.com/manoreken2/Pillow/tree/main/winbuild
16
13
- on Administrator miniforge prompt, cd to this directory, cd winbuild and python build_prepare.py
17
14
- cd winbuild/build and build_dep_all.cmd and build_pillow_avif_plugin.cmd
18
15
- cd to this directory and python -m pip install -e .
0 commit comments