
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
PyQt6 Gui App to display the wide range image formats (jpg, png, tif, dng, bmp, and RAWs), with image metadata and histogram.
Display image is a Python project which provides a command display-image
to visualize the image and metadata by QtPy6.
pip install display-image
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 |
The RAW image formats of the following camera manufacturers are supported, user can display these camera raw files by dependency cxx-image-io
versionv1.1.2
.
Camera manufacturer | Image format |
---|---|
Canon | CR2 |
Nikon | NEF |
Sony | ARW |
Panasonic | RW2 |
Kodak | DCR |
Samsung | SRW |
Olympus | ORF |
Leica | RAW |
Pentax | PEF |
CalibrationData
, CameraControls
, LibRawParams
are added in metadata info display, they includes some image processing params such as:
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
sidecar json
{
"fileInfo": {
"fileFormat": "raw12",
"height": 3000,
"width": 4000,
"pixelPrecision": 12,
"pixelType": "bayer_gbrg"
}
}
sidecar json
{
"fileInfo": {
"height": 3000,
"width": 4000,
"format": "raw10",
"pixelPrecision": 10,
"pixelType": "bayer_grbg"
}
}
This project is licensed under the MIT License - see the LICENSE.md file for details.
FAQs
PyQt6 Gui App to display the wide range image formats (jpg, png, tif, dng, bmp, and RAWs), with image metadata and histogram.
We found that display-image demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.