A simple program to generate images from a file. Inspired by pearl-clutching and grandstanding in response to the Liberator.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
pack.php initial commit Aug 3, 2018
unpack.php

README.md

liberator.png

Is this an image? Or is it a gun?

This Is A Gun.png

With just a few lines of code, the above image can be converted back into the STL files for the Liberator, a 3D-printable gun created by Defense Distributed.

This project is meant to remind politicians, bureaucrats, and busy-bodies everywhere that attempting to restrict distribution of code is both pragmatically preposterous and a violation of free speech.

For bonus points, this file was also uploaded to LBRY, ensuring that a record of it persists via blockchain.

Usage

Packing

php pack.php <filepath>

This will create a PNG at <filename>.png.

Unpacking

php unpack.php <imagepath>

This will take a PNG located at <imagepath> and turn it back into the source file.