Skip to main content

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.

Installation

pip install display-image

Usage

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

displaye-image GUI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

display_image-0.1.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

display_image-0.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file display_image-0.1.1.tar.gz.

File metadata

  • Download URL: display_image-0.1.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for display_image-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cfd619712b819021aeb8c43dc8467d7de579cd6888bf824ddf109b477c6038bd
MD5 739c52a34a51154d024a9e5590063302
BLAKE2b-256 3201b9582b9320174d0672a6130b70826987dce28a82a090d3f220b78171b583

See more details on using hashes here.

Provenance

The following attestation bundles were made for display_image-0.1.1.tar.gz:

Publisher: wheels.yml on sygslhy/display-image

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file display_image-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: display_image-0.1.1-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

Hashes for display_image-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac3a26355cf0ee7edc9a1aefe4597f4f33062da4b93ef47d801c16521e8e7d42
MD5 e0264c443aada679493cca6571dd0f26
BLAKE2b-256 e8572536d2e26a49b9f1976d2c17da1659e2bdc7ba8c822a0ce1fb481d2d9f02

See more details on using hashes here.

Provenance

The following attestation bundles were made for display_image-0.1.1-py3-none-any.whl:

Publisher: wheels.yml on sygslhy/display-image

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page