Coxxs / image-hide

Put a secret image into another image using alpha channel magic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python version?

DonaldTsang opened this issue · comments

There is already

Is it possible to use OpenCV, ImageMagick or FFMPEG to make a Python verion that is compatible?

commented

Hackergame2019's official write up has a python version:
https://github.com/ustclug/hackergame2019-writeups/tree/master/official/%E7%99%BD%E4%B8%8E%E5%A4%9C
Code: https://github.com/ustclug/hackergame2019-writeups/blob/master/official/%E7%99%BD%E4%B8%8E%E5%A4%9C/src/run.py

You might need to tweak the code (or the picture), since the write up says: "The white background image should always be brighter than the black background image."