Why PIE (Pixel Image Encoder)

PIE (Pixel Image Encoder) Why !!!

Naming

A few people have asked why PIE, why Pixel Image Encoder and why build this !!!.

PIE is the acronym of Pixel Image Encoder.

Why Pixel Image Encoder, The process is to convert file or text data to bytes then into pixels. These pixels are converted to images. If the file is larger than the maximum size, file is sliced then converted to images. Then stored in a zip file.

This process is called encoding. This is why the library is called "Pixel Image Encoder" and referred to as "PIE".

Why build this

I was trying to find a way of compressing files using channels in images. The original project was to build a new compression system using image pixels. While this project succeed in compressing files, even if the file was already compressed. It did not meet the brief. The maximum compression was an extra 5% - 7% which was not what I was looking for.

I was going to delete the project but then new ideas come to mind.

  • AI started taking off and was taking images from the net.
  • News reports of images taken from the cloud were being stolen. People were uploading sensitive images and being hacked.
  • Communications are being monitored by IP and Man in the middle attacks.
These were just a few of the problems PIE could solve.

I kept the project but made it open source so anyone could take the code and taylor it to their needs.

PIE does not have any dependencies so it can be used in any project. PIE supports java 8 all the way to the latest version. 

PIE also has a command line interface so anyone can encode and decode files.