package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Feb 9, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetGrayMatrix converts an arbitrary image into a 2D grid of 8-bit grayscale values.
This is used as the raw input for most steganalysis algorithms.
LoadImage opens a file from the disk and decodes it into an image.Image.
It supports JPEG, PNG, and BMP formats via side-effect imports.
SaveImage encodes and saves an image to the specified path.
The format is determined by the file extension (.png, .jpg, .bmp).
Quality settings:
- JPEG: Quality 90
- BMP/PNG: Default settings
Source Files
¶
Click to show internal directories.
Click to hide internal directories.