VaXe-Hunter / liberator.png

A simple program to generate images from a file. Inspired by pearl-clutching and grandstanding in response to the Liberator.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A simple program to generate images from a file. Inspired by pearl-clutching and grandstanding in response to the Liberator.

License:MIT License


Languages

Language:PHP 100.0%