Menu

IIPImage server on CentOS 7.7 - How to enable the JPEG2000

2019-12-06
2019-12-11
  • Ruven

    Ruven - 2019-12-10

    iipsrv 1.1 is available in Fedora 30 onwards as we can see from this build list, but seemingly not yet in EPEL, which is where CentOS sources the iipsrv package from:
    https://apps.fedoraproject.org/packages/iipsrv

    So, you'll have to either wait for EPEL to be updated, use a Fedora package file or build iipsrv 1.1 from source. Compilation is very straightforward - you'll just need to install the development packages for libtiff, libjpeg, zlib and openjpeg. You can find instructions here: https://iipimage.sourceforge.io/documentation/server/

     
  • Naveen D Almieda

    Hi Ruven,

    Thanks for your reply,

    I have installed the iipsrv1.1 successfully on CentOS 7.7. Its working with JPEG2000.

    I'm seeing the difference in the Image color output. Could you please help me to get the same color output as actual image color? Attached screenshot of the same image with normal view as well as with the iipsrv preview on browser.

    Actual Image is in "Adobe RGB (1998)" profile.

    Thank you in advance.

     
  • Ruven

    Ruven - 2019-12-11

    The output JPEG image should have attached to it any ICC profile that has been embedded into the TIFF or JPEG2000 image. To test this, save the preview image using a command like this:

    .../iipsrv/?FIF=your_image.jp2&WID=200&CVT=jpeg

    Then check the resulting JPEG image using a command line tool such as jpeginfo or exiftool to see whether there is any metadata or ICC profile embedded. You can also just send me the output CVT JPEG if you prefer.

     

Anonymous
Anonymous

Add attachments
Cancel