exe2png
Convert executables (or any other file) into an image
Installation
From PyPI
pip3 install exe2png
From GitHub
pip3 install git+https://github.com/donno2048/exe2png
Usage
exe2png -h
usage: exe2png [-h] (-e | -d) [-c] [-H HEIGHT] -f FILE [-o OUTPUT]
Encode or decode a file to or from a PNG image.
optional arguments:
-h, --help show this help message and exit
-e, --encode encode a file to a PNG image
-d, --decode decode a PNG image to a file
-c, --color encode or decode a color image
-H HEIGHT, --height HEIGHT
height of the image
-f FILE, --file FILE the file to encode or decode
-o OUTPUT, --output OUTPUT
the file to output to
For example, we can encode my snake executable to a greyscale PNG image:
wget https://github.com/donno2048/snake/releases/download/v16/snake.com
exe2png -e -H 15 -f snake.com -o snakeL.png
and get this:
and we can decode the image back to a file:
exe2png -d -f snakeL.png -o snake.com
or we can encode a color image:
exe2png -e -c -H 9 -f snake.com -o snakeRGB.png
and get this:
and we can decode the image back to a file:
exe2png -d -c -f snakeRGB.png -o snake.com
Here is python itself encoded into a PNG image:
Metadata
Release files for exe2png 1.0.1
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 |
|---|---|---|---|---|
| exe2png-1.0.1.tar.gz | 3.3 kB | Without provenance | Details for exe2png-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| exe2png-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for exe2png-1.0.1-py3-none-any.whl |
Total release size: 7.2 kB
Release files / exe2png-1.0.1.tar.gz
| Download URL | exe2png-1.0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06a54258141c84ddfd36b36c305c1f28a3ed4f9ba88d455610b4cf58a63d8e73
|
|
BLAKE2b-256 checksum How to use checksums |
848e23955a9856dc4ceca7d5bbd6be0245ddcc299cefe62d6b0e2097a980edc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / exe2png-1.0.1-py3-none-any.whl
| Download URL | exe2png-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
288083a8447dc39da0af6da599d2f7a1be7af1d79d68a4fac98d05b991bca782
|
|
BLAKE2b-256 checksum How to use checksums |
c9d07083e7ab9895aa881c3cc97e082797f74705c4a3b062fac604a40a27dd3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Security for exe2png 1.0.1
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.