Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

vcpkg install zlib libwebp lcms freetype libjpeg-turbo libpng tiff --triplet=arm64-windows

Pillow supports other image formats too. You need to install the appropriate library and add it to your PATH for pillow to include them.

...

Install Pillow

pip install pippillow --no-build-isolation

Copy library DLLs

If you try to run pillow you might get a DLL import error as Python cannot load thrid party library DLLs we installed using vcpkg. We will have to manually copy all of the DLLs to pillow installation directory.

E.g:

cp C:\vcpkg\packages\zlib_arm64-windows\bin\*.dll C:\venv_pillow\lib\site-packages\PIL\