Okay, so I downloaded it and followed the instructions to install given in the install file.
The relevant library is openjpeg-2, and ImageMagick's delegates page gives the tarball, openjpeg-2.0.0.tar.gz. A command like convert input.jp2 output.jpg gives me the error message:Ĭonvert: no decode delegate for this image format `JP2' error/constitute.c/ReadImage/501. The following libraries have built-in support and are listed as delegates:īzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlibĮdit: I should have mentioned, I did try file conversions before starting to wrangle with openjpeg-2. I'm using ImageMagick 6.8.9-9, this is the most up to date version of ImageMagick available from apt-get.Ĭurrently, a lot of the main file types are automatically included. I installed ImageMagick via package manager: sudo apt-get install ImageMagick.
The command to do that is fine, but I don't know how to enable the jp2 delegate in ImageMagick. I want to use ImageMagick to convert some files from jp2 (JPEG-2000) to jpg.