If you want to convert a ps or eps file into jpg format on Linux, you can use ghostscript.
To install ghostscript on Ubuntu or Debian:
To install ghostscript on CentOS, RHEL or Fedora:
To convert ps or eps file into jpg format using ghostscript, run the following.
If you want to resize or rotate the generated jpg image file, you can use ImageMagick. A command-line utility called mogrify contained in ImageMagick package can do necessary image transformation.
To install ImageMagick on Ubuntu or Debian:
To install ImageMagick on CentOS, RHEL or Fedora:
Once ImageMagick is installed, run mogrify command to resize and rotate an image.
Subscribe to Xmodulo
You can have daily Linux tutorials and FAQs delivered to your email inbox. Simply enter your email address below to subscribe to our mailing list. You will receive hands-on guides and carefully written tutorials related to Linux, everything for free.