a-shell icon indicating copy to clipboard operation
a-shell copied to clipboard

Convert gs missing

Open weiszr opened this issue 2 years ago • 1 comments

I tried to convert a multi-page pdf into individual images with something like: convert -density 150 presentation.pdf -quality 90 output-%3d.jpg

The error is; gs: command not found

Is the an expected behavior based on the convert implementation or a bug?

weiszr avatar Oct 03 '21 23:10 weiszr

That's an expected behaviour: gs (ghostscript) is not present in a-Shell.

There are several reasons: one is that it's covered by the GPL, so it cannot be distributed on the AppStore. The other is that it's really hard to cross-compile. The third is that the functionalities (convert PDF to other formats) are already present in the system, even though they are not scriptable.

holzschu avatar Oct 04 '21 06:10 holzschu