PngEncoder class

Instance of an encoder, which is used to hide texts in PNG images.

Constructors

PngEncoder(File sourceImage, File targetImage)
Creates a new instance of the PngEncoder.

Properties

sourceImage ↔ File
is the base-image used for encoding. it will NOT be changed.
read / write
targetImage ↔ File
The target image, where the encoded result will be stored. Will be overwritten if existing.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

decode() → String
tries to decode targetImage and returns the String hidden in it.
encode(String text) → void
copies sourceImage to targetImage and encodes the String into the target.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Properties

alphabet → List<String>
The alphabet used. Contains the 65 Base64 symbols together with the '}' symbol as stopword.
final