JasPer is an extensible open source utility designed for the manipulation, conversion, compression and decompression of digital images. Currently supported image formats include bmp, jp2, jpc, jpg, pgx, mif and ras.
Availability and Restrictions
You can use
module spider jasper to view available modules for a given machine. Feel free to contact OSC Help if you need other versions for your work.
JasPer is available to all OSC users.
Publisher/Vendor/Repository and License Type
Michael Adams, Department of Electrical and Computer Engineering, University of Victoria/ Freeware
In order to use the JasPer library, you must load the JasPer module into your environment. To load the JasPer module, type the following command:
module load jasper
In addition to the JasPer libraries, a few default applications are also provided when the JasPer module is loaded.
To convert an image from one format to another, use the
For a comprehensive list of options available for this command, type
To compare particular qualities of two images, use the
imgcmp -f [file 1] -F [file 2] -m [metric]
For a full list of acceptable metric arguments, type
To view a sequence of one or more images, use the
Alternatively, if you would like to view multiple images in sequence you can use the
--wait option to specify the amount of time between the display of each image, creating a slideshow. The command below will display each image for 5 seconds before displaying the next image.
jiv --wait 5 [image1 image2 image3 ...]
For a full list of options, type
Additional information about JasPer can be found online at the JasPer Project Homepage.