Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save TechplexEngineer/198d5c321abd0dc1bda05cf2fe6fbfe2 to your computer and use it in GitHub Desktop.
Save TechplexEngineer/198d5c321abd0dc1bda05cf2fe6fbfe2 to your computer and use it in GitHub Desktop.
Compiling ImageMagick 7.0.5 with jpeg, jp2 and png support
  1. Install needed deps: apt-get install libjpeg62 libjpeg62-dev libpng16-16 libpng16-dev libopenjpeg-dev libjpeg-dev libopenjp2-7-dev

  2. Download the ImageMagik source cd ImageMagick-7.0.5-0

  3. Untar the source tar xfz ImageMagick.tar.gz

  4. Run Configure ./configure --disable-shared --with-jp2=yes --with-openjp2=yes --with-png=yes

  5. Build the code (with 4 threads) make -j4

  6. Install the buit execuatable sudo make install

@TechplexEngineer
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment