Free “WSQ viewer” for Linux (version 1.6)


Cognaxon WSQ viewer reads and converts between WSQ and 15 other graphic file formats.

Figure 1 Screenshot of Cognaxon WSQ viewer main window Figure 2 Screenshot of Cognaxon WSQ viewer file format converter utility window

WSQ viewer is small (less than 1 Megabyte) and fast, has image zoom toolbar and supports accelerated navigation through files in the directory using keys page up / page down / home / end . After installation of WSQ viewer *.wsq files can be easily opened in Windows Explorer with simple mouse double click.

WSQ viewer is the demo version of WSQ (FBI's Wavelet Scalar Quantization) library add-on available as SDK for software developers.


Click here to download the latest version of Cognaxon free WSQ viewer for Linux (x86 platform):
WSQ viewer (for Linux)

Windows version of WSQ viewer is available here.
Android version of WSQ viewer is available on Google Play and on Amazon Appstore.
Windows CE/Windows Mobile/Pocket PC version of WSQ viewer is available here.

WSQ viewer (for Linux) specifications

Table 1 Supported formats for reading

Format Description
WSQ FBI's Wavelet Scalar Quantization
BMP Windows Bitmap Graphics
TIFF Macintosh Tagged Information File Format images
TIF PC Tagged Information File Format images
JPG, JPEG Joint Photographic Experts Group images
PNG Portable Network Graphics images
GIF Compuserve Graphic Interchange Format images
TGA Truevision Targa Graphic images
PCX ZSoft Paintbrush images (PC Paintbrush Bitmap Graphic)
RGB Silicon Graphics International true color images
PSD Photoshop images
CEL Autodesk images / Animator Graphic (FLC and FLI formats)
IFF Amiga Bitmap Graphic (8 bits)
XBM X Bitmap Graphic images
XPM BMC Software Patrol UNIX Icon File
PNM PBM Portable Any Map Graphic Bitmap
MNG Muti-image Network Graphic Animation

Table 2 Supported formats for writing

Format Description
WSQ FBI's Wavelet Scalar Quantization
BMP Windows Bitmap Graphics
TIF Tagged Information File Format (no LZW compression)
PNG Portable Network Graphics
JPG Joint Photographic Experts Group
RGB Silicon Graphics International (uncompressed)
TGA Truevision Targa Graphic
XBM X Bitmap Graphic images
XPM BMC Software Patrol UNIX Icon File

WSQ format description

In the USA, fingerprints have traditionally been collected on cards, each card containing the inked impressions of all ten fingers. The U.S. Federal Bureau of Investigation's fingerprint database began in 1924 with a cataloged collection of 810,188 cards. By the start of World War II, this collection had grown to over 10 million cards, and by 1946 had reached over 100 million cards.

In 1995 this collection was contained on over 200 million cards stored in filing cabinets occupying one acre of floor space in the J. Edgar Hoover building in Washington D.C. and archive size was increasing at the rate of 30,000 to 50,000 new cards per day. Digitization of fingerprint cards seemed to be the most obvious choice and the project named FBI's Integrated Automated Fingerprint Identification System (IAFIS) was started to cope with the design and implementation of a national standard for collecting, encoding, storing, and retrieving digitized fingerprint images. According to the FBI standard fingerprints are stored as 8-bit grayscale images. Each fingerprint card, when digitized at 500 dpi requires about 10 Mbytes of storage. The FBI's entire collection would therefore consume two petabytes (2,000,000,000 megabytes) of electronic storage space.

The need for an effective compression technique was then very urgent. Unfortunately, neither the well-known lossless methods nor the JPEG methods were found to be satisfactory. Most lossy compression methods, such as JPEG, discard the smallest (highest frequency) details in images, and at higher compression ratios unacceptably distorts the image. Contained within fingerprints are tiny details that are considered admissible points of identification in a court of law. To JPEG, these details may be regarded as noise and removed. The JPEG quantization matrix also allows blocking artifacts to occur in the image at compression ratios above about 10:1. Shifting bits to the high frequencies to preserve small details will only make the blocking worse. Lossless compression methods, such as LZW and JBIG, cannot achieve the high compression ratios of WSQ on fingerprint data, with 2:1 typically being the best. A new compression technique (with small acceptable loss), called Wavelet Scalar Quantization (WSQ) was developed and it became the FBI standard for the compression of 500 dpi fingerprint images.

WSQ is a lossy compression method that is well-suited for preserving the very high resolution details of grayscale images while maintaining high compression ratios of typically 12:1 to 15:1 on images that have not undergone "quality enhancements" (such as histogram equalization) to improve the appearance of the image.

Table 3 WSQ file format specifications

Feature Description
Name FBI's Wavelet Scalar Quantization file format.
Also known as: FBI Fingerprint Format or FBI WSQ
Application The standard file format used by the FBI for storage and interchange of grayscale fingerprint images
Originator FBI (U.S. Federal Bureau of Investigation)
Type Bitmap
Colors 8 bit grayscale
Compression Wavelet Scalar Quantization
Maximum image size 64K x 64K
Multiple images per file No

Importance of WSQ format

Electronic fingerprints submitted to the FBI either through Integrated Automated Fingerprint Identification System (IAFIS), or Electronic Fingerprint Image Print System (EFIPS) may not be compressed with any technique other than WSQ.

Copyright © 2021 Cognaxon. All rights reserved. Privacy