Please install the following software on your server to support different file formats. For example converting a JPG format image to SVG, AI, PNG, JPEG, and many more.

 

Inkscape:
Inkscape is a free and open-source vector graphics editor. This software can be used to create or edit vector graphics such as illustrations, diagrams, line arts, charts, logos, icons, and complex paintings.

 

To install Inkscape run the following commands:

For Ubuntu Operating System

  1. sudo add-apt-repository ppa:inkscape.dev/stable-daily

  2. sudo apt-get update

  3. sudo apt-get install inkscape

 

For CentOS

  1. yum update

  2. yum install inkscape

 

Ghostscript:

Ghostscript can be used as a Raster Image Processor (RIP) for raster computer printers for instance, as an input filter of line printer daemon or as the RIP engine behind PostScript and PDF viewers. Ghostscript can also be used as a file format converter, such as PostScript to PDF converter.

 

To install Ghostscript run the following commands

 

For Ubuntu Operating System

  1. sudo apt update

  2. sudo apt install ghostscript

 

For CentOS

  1. yum update

  2. yum install ghostscript

 

ImageMagick:

ImageMagick is a software suite that creates, edits, composes, or converts bitmap images. It can read and write images in over 200 formats. We may use ImageMagick commands to resize, rotate, and transform images, adjust image colors, apply various special effects, or draw text, lines, and shapes.

To install ImageMagick run the following commands:

 

For Ubuntu Operating System 

  1. sudo apt-get install php-imagick -y

  2. sudo apt-get install build-essential checkinstall libx11-dev libxext-dev zlib1g-dev libpng-dev libjpeg-dev libfreetype6-dev libxml2-dev -y

  3. wget https://www.imagemagick.org/download/ImageMagick.tar.gz && tar -xvzf ImageMagick-7.1.0-9.tar.gz && cd ImageMagick-7.1.0-9 && ./configure && make && make install && make distclean && sudo ldconfig

 

For CentOS

  1. yum install php-pear php-devel gcc

  2. wget https://www.imagemagick.org/download/ImageMagick.tar.gz

  3. tar -vxf ImageMagick.tar.gz

  4. sudo yum -y install libpng-devel libjpeg-devel libtiff-devel

  5. cd ImageMagick

  6. /configure --without-x

  7. make && make install