diff --git a/.appveyor.yml b/.appveyor.yml
index 7d45e11ee..41a5725b2 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -34,8 +34,8 @@ install:
- xcopy /S /Y c:\test-images-main\* c:\pillow\tests\images
- curl -fsSL -o nasm-win64.zip https://raw.githubusercontent.com/python-pillow/pillow-depends/main/nasm-2.16.03-win64.zip
- 7z x nasm-win64.zip -oc:\
-- choco install ghostscript --version=10.3.1
-- path c:\nasm-2.16.03;C:\Program Files\gs\gs10.03.1\bin;%PATH%
+- choco install ghostscript --version=10.4.0
+- path c:\nasm-2.16.03;C:\Program Files\gs\gs10.04.0\bin;%PATH%
- cd c:\pillow\winbuild\
- ps: |
c:\python39\python.exe c:\pillow\winbuild\build_prepare.py -v --depends=C:\pillow-depends\
diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml
index e36dc05fd..c8842e37b 100644
--- a/.github/workflows/test-windows.yml
+++ b/.github/workflows/test-windows.yml
@@ -86,8 +86,8 @@ jobs:
choco install nasm --no-progress
echo "C:\Program Files\NASM" >> $env:GITHUB_PATH
- choco install ghostscript --version=10.3.1 --no-progress
- echo "C:\Program Files\gs\gs10.03.1\bin" >> $env:GITHUB_PATH
+ choco install ghostscript --version=10.4.0 --no-progress
+ echo "C:\Program Files\gs\gs10.04.0\bin" >> $env:GITHUB_PATH
# Install extra test images
xcopy /S /Y Tests\test-images\* Tests\images
diff --git a/CHANGES.rst b/CHANGES.rst
index f23ec609f..4ab9eaf2b 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -5,6 +5,18 @@ Changelog (Pillow)
11.0.0 (unreleased)
-------------------
+- Use transposed size after opening for TIFF images #8390
+ [radarhere, homm]
+
+- Improve ImageFont error messages #8338
+ [yngvem, radarhere, hugovk]
+
+- Mention MAX_TEXT_CHUNK limit in PNG error message #8391
+ [radarhere]
+
+- Cast Dib handle to int #8385
+ [radarhere]
+
- Accept float stroke widths #8369
[radarhere]
diff --git a/README.md b/README.md
index b4c6d2987..5bbebaccb 100644
--- a/README.md
+++ b/README.md
@@ -51,7 +51,7 @@ As of 2019, Pillow development is
-
diff --git a/depends/install_raqm.sh b/depends/install_raqm.sh
index 070ba23a1..5d862403e 100755
--- a/depends/install_raqm.sh
+++ b/depends/install_raqm.sh
@@ -2,7 +2,7 @@
# install raqm
-archive=libraqm-0.10.1
+archive=libraqm-0.10.2
./download-and-extract.sh $archive https://raw.githubusercontent.com/python-pillow/pillow-depends/main/$archive.tar.gz
diff --git a/docs/index.rst b/docs/index.rst
index 3a12953f0..18f5c3d13 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -54,7 +54,7 @@ Pillow for enterprise is available via the Tidelift Subscription. `Learn more mode, imOut->mode) != 0) {
+ return (Imaging)ImagingError_ModeError();
+ }
+
if (filterid || imIn->type == IMAGING_TYPE_SPECIAL) {
return ImagingGenericTransform(
imOut, imIn, x0, y0, x1, y1, affine_transform, a, filterid, fill
@@ -1046,10 +1050,6 @@ ImagingTransformAffine(
return ImagingScaleAffine(imOut, imIn, x0, y0, x1, y1, a, fill);
}
- if (!imOut || !imIn || strcmp(imIn->mode, imOut->mode) != 0) {
- return (Imaging)ImagingError_ModeError();
- }
-
if (x0 < 0) {
x0 = 0;
}
diff --git a/winbuild/build_prepare.py b/winbuild/build_prepare.py
index e2022d283..d350e2575 100644
--- a/winbuild/build_prepare.py
+++ b/winbuild/build_prepare.py
@@ -292,8 +292,12 @@ DEPS: dict[str, dict[str, Any]] = {
},
"build": [
cmd_rmdir("objs"),
- cmd_msbuild("MSBuild.sln", "Release Static", "Clean"),
- cmd_msbuild("MSBuild.sln", "Release Static", "Build"),
+ cmd_msbuild(
+ r"builds\windows\vc2010\freetype.vcxproj", "Release Static", "Clean"
+ ),
+ cmd_msbuild(
+ r"builds\windows\vc2010\freetype.vcxproj", "Release Static", "Build"
+ ),
cmd_xcopy("include", "{inc_dir}"),
],
"libs": [r"objs\{msbuild_arch}\Release Static\freetype.lib"],