PyQt6 Gui App to display the wide range image formats (jpg, png, tif, dng, bmp, and RAWs), with image metadata and histogram.
Project description
Display Image
Display image is a Python project which provides a command display-image to visualize the image and metadata by QtPy6.
display-image -i <path_to_image>
The following format extensions can be displayed by command display-image
| Image format | Read | EXIF | Pixel precision | Pixel type | File extension | Sidecar needed |
|---|---|---|---|---|---|---|
| BMP | x | 8 bits | Grayscale, RGB, RGBA | .bmp | ||
| CFA | x | 16 bits | Bayer | .cfa | ||
| DNG | x | x | 16 bits | Bayer | .dng | |
| JPEG | x | x | 8 bits | Grayscale, RGB | .jpg, .jpeg | |
| MIPI RAW | x | 10 bits, 12 bits | Bayer | .RAWMIPI, .RAWMIPI10, .RAWMIPI12 | x | |
| PLAIN RAW | x | * | * | .raw .plain16, * | x | |
| PNG | x | 8 bits | Grayscale, RGB, RGBA | .png | ||
| TIFF | x | x | 8 bits, 16 bits | Bayer, RGB | .tif, .tiff |
Image display with sidecar JSON
Some file formats need to know in advance some informations about the image. For example, the PLAIN RAW format is just a simple dump of a buffer into a file, thus it needs to know how to interpret the data.
In this case, user need to have an image sidecar JSON located next to the image file as the same name and path path_to_image.json
{
"fileInfo": {
"format": "plain",
"height": 3072,
"width": 4080
"pixelPrecision": 16,
"pixelType": "bayer_gbrg",
}
}
After image reading, the information in JSON sidecar will be shown in tab Widegt of ImageMetadata
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file display_image-0.1.0.tar.gz.
File metadata
- Download URL: display_image-0.1.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af8595ecf7e6b9ce3f83962b1113cf641d6e5970e669be98599457f5f86f843b
|
|
| MD5 |
daa5cf86fbeb7850bef04c941da4f3c3
|
|
| BLAKE2b-256 |
7fae36a6f6352cf69de59a8099585c91b48e4cd4f6252026fe7c70b5d6d97c2a
|
Provenance
The following attestation bundles were made for display_image-0.1.0.tar.gz:
Publisher:
wheels.yml on sygslhy/display-image
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
display_image-0.1.0.tar.gz -
Subject digest:
af8595ecf7e6b9ce3f83962b1113cf641d6e5970e669be98599457f5f86f843b - Sigstore transparency entry: 165332016
- Sigstore integration time:
-
Permalink:
sygslhy/display-image@202bc70bdee1d722cbdabd86bcff12b2117f984f -
Branch / Tag:
refs/heads/master - Owner: https://github.com/sygslhy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@202bc70bdee1d722cbdabd86bcff12b2117f984f -
Trigger Event:
push
-
Statement type:
File details
Details for the file display_image-0.1.0-py3-none-any.whl.
File metadata
- Download URL: display_image-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
809a10ab300362d6222ea906a1619d45d99fdd5fcaf52b41b1ec675217407adc
|
|
| MD5 |
197f7012a11d18741e57cf7af6fc2187
|
|
| BLAKE2b-256 |
f5ce256fd6156c3b6cc20f7f68f2449b8101255298cc08e14ae1e2df88b6f82d
|
Provenance
The following attestation bundles were made for display_image-0.1.0-py3-none-any.whl:
Publisher:
wheels.yml on sygslhy/display-image
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
display_image-0.1.0-py3-none-any.whl -
Subject digest:
809a10ab300362d6222ea906a1619d45d99fdd5fcaf52b41b1ec675217407adc - Sigstore transparency entry: 165332020
- Sigstore integration time:
-
Permalink:
sygslhy/display-image@202bc70bdee1d722cbdabd86bcff12b2117f984f -
Branch / Tag:
refs/heads/master - Owner: https://github.com/sygslhy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@202bc70bdee1d722cbdabd86bcff12b2117f984f -
Trigger Event:
push
-
Statement type: