Example showing how to perform an ICC profile-to-profile conversion using ImageMagick.
As color management gained popularity and a wider variety of ICC display profiles were being embedded in images, the standard was amended in 2004 ( 15444-1annexi.pdf) to accommodate the use of restricted ICC profiles.Īs of the openjp2 library v2.3.1., OpenJPEG does not carry over the ICC display profiles embedded within the source image, but instead converts any color encoding to sRGB on output. The original JPEG 2000 standard only accommodated three color encoding declarations: sGray, sYCC, and sRGB. Sudo apt install libopenjp2-7 libopenjp2-tools Why install GrokImageCompression? If you'd like to try installing OpenJPEG via the precompiled version first, the following command should do the trick: Note that you do not need to install ImageMagick at all, but it is a very useful utility. While it is easier to install OpenJPEG and ImageMagick via pre-compiled versions using apt, I've had issues with prior installations that I resolved by compiling the source code, so that is what I recommend. This command-line tool is easy to run and maintain using a command-line friendly OS like Linux, so I recommend installing Linux on your Windows 10 machine, taking advantage of W10's Windows Subsystem for Linux feature.īelow are instructions for compiling OpenJPEG, ImageMagick, and GrokImageCompression from source code. OpenJPEG is an open-source JPEG 2000 codec written in C. Installing OpenJPEG on Windows 10, Linux, and MacOS