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
- 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
- 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
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 ==(
Object other) → bool -
The equality operator. [...]
inherited