【文件属性】:
文件名称:pngencoder:在png图像上编码任意数据
文件大小:2.18MB
文件格式:ZIP
更新时间:2021-04-25 10:42:21
Python
概述
简单编码即可将数据解码为PNG文件
在此示例中,我将秘密图像编码为images / thorsecret.png,然后将其解码为Reveal.jpeg
python3 pngdataencoder.py --encode images/thor.png --input-file secret.jpeg --output-path images/thorsecret.png
python3 pngdataencoder.py --decode images/thorsecret.png --output-path reveal.jpeg
您还可以通过url编码解码,只需传递--from-url并将--from-url传递给image参数。
python3 pngdataencoder.py --decode --from-url --output-path outhhehe.jpe
【文件预览】:
pngencoder-master
----.gitignore(17B)
----images()
--------thorsecret.png(971KB)
--------screenshot.png(386KB)
--------thor.png(954KB)
----requirements.txt(120B)
----LICENSE(554B)
----pngdataencoder.py(3KB)
----README.md(2KB)