Skip to content

unrealwill/uncroppable

Repository files navigation

Uncroppable

Make your image uncroppable

The starting image :

Original Image

The result : an almost identical image that can't be cropped

Uncroppable Image

Let's crop it anyway :

Cropped Image

Let's recover from it :

If we mixed the channels :

Recovered mixed Channel Image

If we didn't mix the channels :

Recovered Unmixed Channel Image

How it's done :

We steganographically encode a permuted half resolution image in the two least significant bits of each pixel channel.

For more see the commented uncroppable.py file

Of course, this is just a proof of concept that is easily detectable with the appropriate software, and any advanced uncroppable image algorithm would use error correcting code and the compression codecs directly in the hardware encoder of your sensor, to make it harder to detect.

About

Make your image uncroppable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages