A Dart library to hide text in PNG images. The procedure for encoding is the following:
-
The input gets encoded into Base64 format
-
The encoded input gets compressed, using the LZW algorithm
-
The resuting bytes are hidden in the source-image, 1 Byte / Pixel
String text = "hallo ich bin ein text";
File input = File("assets/input.png");
File output = File("assets/output.png");
PngEncoder encoder = PngEncoder(input, output);
encoder.encode(text);