Last updated:
0 purchases
png chunk text
png_chunk_text #
Dart port of png_chunk_text.
Create or parse a PNG tEXt chunk for storing uncompressed text data in PNG images.
Can be used in combination with png_chunks_extract
and png_chunks_encode for adding and reading custom
metadata in PNG images.
Features #
Create or parse a PNG tEXt chunk for storing uncompressed text data in PNG images.
Getting started #
In the pubspec.yaml of your flutter project, add the following dependency:
dependencies:
...
png_chunk_text: ^1.0.0
copied to clipboard
Import it:
import 'package:png_chunk_text/png_chunk_text.dart' as text;
copied to clipboard
Usage #
Please see the usage in test/png_chunk_text_test.dart.
import 'package:png_chunk_text/png_chunk_text.dart' as text;
final map = text.encode('Author', 'Lorem Ipsum');
final result = text.decode(textChunkData);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.