Created on 15 February 2024, 4 months ago
Updated 3 March 2024, 4 months ago

Problem/Motivation

magickException: FailedToExecuteCommand `'gs' -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r2.0x2.0' -dPrinted=false '-sOutputFile=/tmp/magick-HCPzUmUbZu-L-IiHTzqP2xO6nR3OxB0E%d' '-f/tmp/magick-mmWWylKO_bAJAb2gp5YZU6WEX-00tSqi' '-f/tmp/magick-DzzDCqNa_ey3gJhhA4dtCHLkQ4fDo2TV'' (32512) @ error/ghostscript-private.h/ExecuteGhostscriptCommand/74 in Imagick->pingImage() (line 42 of /home/**/vendor/spatie/pdf-to-image/src/Pdf.php).

Steps to reproduce

Drupal 9.5.8
PHP 8.1.27

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands jandewit6

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jandewit6
  • Status changed to Closed: works as designed 4 months ago
  • πŸ‡ΊπŸ‡¦Ukraine HitchShock Ukraine

    php imagick extension is a requirement for this module.
    When you install the module via composer you must receive an error like this
    spatie/pdf-to-image 2.2.0 requires ext-imagick * -> it is missing from your system. Install or enable PHP's imagick extension.

    So this is an expected behavior.

    I created a separate ticket to add an extra check before installing the module - πŸ“Œ Add check installation requirements and do status reporting. Active

Production build 0.69.0 2024