WSQ
A Python library extending Pillow to support WSQ images.
This library is a simple wrapper on the NIST Biometric Image Software (NBIS) version 5.0.0 made available by the National Institute of Standards and Technology (NIST).
For the convenience of the build, the source code of NBIS (or to be more accurate, the part related to WSQ) is included in this repository. Apart from minor changes to make possible the build (like removal of some include directives) the NBIS source code is not changed.
Installation
wsq is published on PyPI and can be installed from there:
pip install -U wsq
To install from source code:
pip install build python -m build
The Python development library and C compiler must be available. For instance, for Ubuntu:
sudo apt install python3-dev
Quick Start
To open a WSQ image:
from PIL import Image
import wsq
img = Image.open("my_image.wsq")
To save a WSQ images, use one of:
image.save(f,'WSQ')
# or
image.save('test.wsq')
To convert from another format:
from PIL import Image
import wsq
img = Image.open("test.png")
# Convert to grayscale image (important)
img = img.convert("L")
img.save("test.wsq")
Metadata
Release files for wsq 0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wsq-0.9.tar.gz | 139.2 kB | Without provenance | Details for wsq-0.9.tar.gz |
Built distributions (wheels)
Total release size: 2.0 MB
Release files / wsq-0.9.tar.gz
| Download URL | wsq-0.9.tar.gz |
|---|---|
| Size | 139.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
862a61e47a4c34412c51aeea7e0fabd6f478b3c29903c68fd978ff1082d7096b
|
|
BLAKE2b-256 checksum How to use checksums |
678057b40b280f52d7032b79dbfd8d608d08e547286e35d6fc65c9479d826386
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / wsq-0.9-cp315-cp315-win_amd64.whl
| Download URL | wsq-0.9-cp315-cp315-win_amd64.whl |
|---|---|
| Size | 74.5 kB |
| Tags | CPython 3.15 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1cf5ad7ac3b3cefbebd20ff146622adfe44e9ccbcd13ada88211f8d01ddfefab
|
|
BLAKE2b-256 checksum How to use checksums |
d241519ebd4e8aca657964b188e9dd88cfc7e76ecb7e73197ba4bf11cbbb3d31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / wsq-0.9-cp315-cp315-manylinux_2_28_x86_64.whl
| Download URL | wsq-0.9-cp315-cp315-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 306.7 kB |
| Tags | CPython 3.15 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
29fc09f355cedf6ade3e677f559ef23b0a6ee7badec359742b0a3a70ffc8a48f
|
|
BLAKE2b-256 checksum How to use checksums |
701210d5b0f8350f243890caf7a795a0ca717b5138af2364b4d0013e5719ff8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / wsq-0.9-cp314-cp314-win_amd64.whl
| Download URL | wsq-0.9-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 74.5 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5754c2c0556c05881987c802e19b15db7c1f5e822e9bc69a87cf43cbd41f3d03
|
|
BLAKE2b-256 checksum How to use checksums |
09ab3f665a08095fb2f042161e80143988d49ad51c41f2e7f48cbe29eedb43e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / wsq-0.9-cp314-cp314-manylinux_2_28_x86_64.whl
| Download URL | wsq-0.9-cp314-cp314-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 306.6 kB |
| Tags | CPython 3.14 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
99ea1561b776a6ff3d63e0dbc7a2f4241b30217a7a38bb98ec97eacc437fade3
|
|
BLAKE2b-256 checksum How to use checksums |
44c7f3987ec19180043e271269f1f2463fbc4a656c3d91397e391c32391e6925
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / wsq-0.9-cp313-cp313-win_amd64.whl
| Download URL | wsq-0.9-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 73.2 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2a6cb97cc1c24fb87524ba3feb7bf5647c41c76f5e45f0436faa8fbd687eefda
|
|
BLAKE2b-256 checksum How to use checksums |
5ed91a19d0383ad4a592bf0ad35003def2eed0150f58459284c6fecef34fa8be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / wsq-0.9-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | wsq-0.9-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 306.5 kB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
9b9eb815ba5f16853fc5bc8f21513f8283b35a2ce4c3f5b266cb35ab2861c785
|
|
BLAKE2b-256 checksum How to use checksums |
ea3b3cf9ada5541e94fc4fe1a2d945b708dd56f33b370d3a12265e69f257a71f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / wsq-0.9-cp312-cp312-win_amd64.whl
| Download URL | wsq-0.9-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 73.2 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
05486b36b25af5f2878202548c6e0a0fdc39b1cfb7f7ff79c50f2b3f82aa4bae
|
|
BLAKE2b-256 checksum How to use checksums |
b8b285e695b368a0a39deedb540949b8231b9fd36abac619e65c900702434b11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / wsq-0.9-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | wsq-0.9-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 306.5 kB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
d05ff5aecc96e389ca49384808edd00ebf6e828379ef8c33beebee1c310e90e6
|
|
BLAKE2b-256 checksum How to use checksums |
0343722be857edc2495a22ce837f8f166b64784f6d150fae5b82b0f2f406b9f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / wsq-0.9-cp311-cp311-win_amd64.whl
| Download URL | wsq-0.9-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 73.2 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
84af095e9da4b5088c738f4a1b672e2991aa9ebfdba0d9cd72342bc9c1bf5f43
|
|
BLAKE2b-256 checksum How to use checksums |
c1b1343d8b5ff8b67969514ff2e14d46bffd6dc2458ba463f68c8c1f2879fc9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / wsq-0.9-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | wsq-0.9-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 306.4 kB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
99acfb7718174d39565c2ac4303e699356c5cee0d5cf0a4eaf0f2f69e59635ee
|
|
BLAKE2b-256 checksum How to use checksums |
b87b58b47c15048ca1bf5e7c5470566e868cb82ba0c05876062016175506620d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for wsq 0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.