JasPer-2.0.33
      
      
      
        
          Installation of JasPer
        
        
          ![[Note]](../images/note.png) 
          
            Note
          
          
            The tarball jasper-2.0.33.tar.gz will extract to
            jasper-version-2.0.33.
          
         
        
          Install JasPer by running the
          following commands:
        
        mkdir BUILD &&
cd    BUILD &&
cmake -DCMAKE_INSTALL_PREFIX=/usr    \
      -DCMAKE_BUILD_TYPE=Release     \
      -DCMAKE_SKIP_INSTALL_RPATH=YES \
      -DJAS_ENABLE_DOC=NO            \
      -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/jasper-2.0.33 \
      ..  &&
make
        
          To test the results, issue: make
          test.
        
        
          Now, as the root user:
        
        make install
       
      
        
          Command Explanations
        
        
          -DCMAKE_SKIP_INSTALL_RPATH=YES: This
          option removes embedded library search paths.
        
        
          -DJAS_ENABLE_DOC=NO: This
          option disables rebuilding the pdf documentation if texlive-20210325 is installed.
        
       
      
        
          Contents
        
        
          
            
              Installed Programs:
              imgcmp, imginfo, jasper, and jiv
            
            
              Installed Library:
              libjasper.so
            
            
              Installed Directories:
              /usr/include/jasper and
              /usr/share/doc/jasper-2.0.33
            
           
         
        
          
            Short Descriptions
          
          
            
              
              
            
            
              
                | 
                    imgcmp
                   | 
                    compares two images of the same geometry
                   | 
              
                | 
                    imginfo
                   | 
                    displays information about an image
                   | 
              
                | 
                    jasper
                   | 
                    converts images between formats (BMP, JPS, JPC, JPG, PGX,
                    PNM, MIF, and RAS)
                   | 
              
                | 
                    jiv
                   | 
                    displays images
                   | 
              
                | 
                    libjasper.so | 
                    is a library used by programs for reading and writing
                    JPEG2000 format files
                   | 
            
          
         
       
      
        Last updated on