From 7beedfae89acf62b3062bcd9485ffaeb3cf6cf17 Mon Sep 17 00:00:00 2001 From: C85297 <95289555+C85297@users.noreply.github.com> Date: Fri, 6 Feb 2026 11:13:10 +0000 Subject: [PATCH] Fix ContainImage oqaqueness --- src/core/operations/ContainImage.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/core/operations/ContainImage.mjs b/src/core/operations/ContainImage.mjs index 37ac1e18..02148a4a 100644 --- a/src/core/operations/ContainImage.mjs +++ b/src/core/operations/ContainImage.mjs @@ -126,7 +126,11 @@ class ContainImage extends Operation { }); if (opaqueBg) { - const newImage = await Jimp.read(width, height, 0x000000ff); + const newImage = new Jimp({ + width, + height, + color: 0x000000ff, + }); image = newImage.blit({ image, x: 0,