holzschu / a-shell

A terminal for iOS, with multiple windows
BSD 3-Clause "New" or "Revised" License
2.59k stars 116 forks source link

Convert gs missing #320

Open weiszr opened 2 years ago

weiszr commented 2 years ago

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?

holzschu commented 2 years ago

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.