You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect this must be related to the file that you are using or maybe even a change in their latest patches. I just pushed a patch to add the -dNODISPLAY in the native library because it does seem the right way to do this according to their documentation. There are unit tests on both Windows and Linux that use Ghostscript 10.0.0 so we should know what this change does after I upgrade the native library here.
Magick.NET version
14.5.0
Environment (Operating system, version and so on)
Ubuntu 24.04 (docker)
Description
When using
pdfInfo.PageCount
to get the number of pages, the system executes something likeHowever there seems to be a difference in newer versions of ghostscript that causes this to fail:
It seems that passing -dNODISPLAY to gs makes this issue go away, but that is not done by default.
Steps to Reproduce
Running the above command on older / newer versions of ghostscript.
Images
n/a
The text was updated successfully, but these errors were encountered: