Pillow/winbuild
Andrew Murray 19ba2dd6d7
Use rgb.rowBytes in overflow check (#18)
* Removed skip_unless_feature on methods when class is already skipped

* Test speed less than slowest and greater than fastest

* Updated type hints

* Only access angle when AVIF_TRANSFORM_IROT flag is present

* Added AVIF_ROOT

* Only define normalize_quantize_value if it will be used

* Build libavif after libjpeg

* Use rgb.rowBytes in overflow check

* Group EXIF info

* Removed __loaded

* If brew is not installed, use /usr prefix

* Sort AVIF codecs alphabetically

* Updated rav1e license

* Fixed catching warning, as per #8505

* Simplified code

* Fixed typos

* Test further scenarios

* Use y* to parse bytes

---------

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-02-02 20:03:13 -05:00
..
build_prepare.py Use rgb.rowBytes in overflow check (#18) 2025-02-02 20:03:13 -05:00
build.rst Use rgb.rowBytes in overflow check (#18) 2025-02-02 20:03:13 -05:00
fribidi.cmake cross-complie fribidi for windows arm64 2023-12-12 22:54:24 +01:00
README.md Update winbuild/README.md 2024-11-07 12:54:28 +02:00

Quick README

For more extensive info, see the Windows build instructions.

Here's an example script to build on Windows:

set PYTHON=C:\Python39\bin
cd /D C:\Pillow\winbuild
%PYTHON%\python.exe build_prepare.py -v --depends=C:\pillow-depends
build\build_dep_all.cmd
cd ..
%PYTHON%\python.exe -m pip install -v -C raqm=vendor -C fribidi=vendor .
path C:\Pillow\winbuild\build\bin;%PATH%
%PYTHON%\python.exe selftest.py
%PYTHON%\python.exe -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
%PYTHON%\python.exe -m pip wheel -v -C raqm=vendor -C fribidi=vendor .