Skip to content

Encode + decode text into/from a PNG for compression, or weak cryptology.

Notifications You must be signed in to change notification settings

mudcube/PNG-Storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

This is a demo of using PNG to compress and decompress data to be used in Javascript. This demo is heavily inspired by Nihilogic, and is really just an update that includes javascript decompress, along with tweaking the compression to use all three RGB values instead of just luminance.

The library is easy to use, there are two functions;

PNGStorage.encode(data);

PNGStorage.decode(data, callback);

About

Encode + decode text into/from a PNG for compression, or weak cryptology.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published