Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.48 KB

gm-installation.md

File metadata and controls

44 lines (27 loc) · 1.48 KB

GraphicsMagick installation

This guide will help you install the required dependencies to get started!

Linux (Debian based)

For linux users, you can run the following commands on your terminal.

$ sudo apt-get update
$ sudo apt-get install ghostscript
$ sudo apt-get install graphicsmagick

Once everything is installed, the library should work as expected.

Mac OS

For rich people, you can run the following commands on your terminal.

$ brew update
$ brew install gs graphicsmagick

Once everything is installed, the library should work as expected.

Windows

For windows users.. open the links and download installers.

Add the executable directories to the PATH environment variable for Ghostscript and GraphicsMagick:

  • C:\Program Files\gs\gs****\bin
  • C:\Program Files\GraphicsMagick-****

AWS Lambda

For lambda you can add the required libraries using layers. There are prebuilt, community driven layers for both GraphicsMagic and Ghostscript.

Footnotes

  1. An error occurred when the Ghostscript version was 9.53 or later.