From 174e2a403d42122516fb57e133f8f2f943434b97 Mon Sep 17 00:00:00 2001 From: Cactusman <117174187+ACactusman@users.noreply.github.com> Date: Thu, 5 Feb 2026 20:49:36 -0500 Subject: [PATCH] Major bugfix with minor change Command previously used has been deprecated in new versions of ImageMagick, changed to work with current versions of ImageMagick --- beheader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beheader.js b/beheader.js index ea184ca..c4c10d2 100644 --- a/beheader.js +++ b/beheader.js @@ -119,7 +119,7 @@ function padLeft (str, targetLen, padChar = "0") { const tmp = Math.random().toString(36).slice(2); // Convert input image to 32 bpp PNG, strip all metadata -await $`convert "${image}" -define png:color-type=6 -depth 8 -alpha on -strip "${tmp + ".png"}"`; +await $`magick "${image}" -define png:color-type=6 -depth 8 -alpha on -strip "${tmp + ".png"}"`; const pngFile = Bun.file(tmp + ".png"); const atomFile = Bun.file(tmp + ".atom");