Skip to content

Commit

Permalink
fix magick deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
liborm85 committed Dec 24, 2024
1 parent f238d1b commit 93c6af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/generate_website.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const generateImages = function(tree) {
// write the PDF, convert to PNG and trim with ImageMagick (https://imagemagick.org)
file.on('finish', () => {
exec(
`magick convert -density 150x150 -trim ${f}.pdf ${f}.png`,
`magick -density 150x150 ${f}.pdf -trim ${f}.png`,
(err, stdout, stderr) => {
if (stderr) {
console.error(stderr);
Expand Down

0 comments on commit 93c6af7

Please sign in to comment.