enough_ascii_art 0.8.0 copy "enough_ascii_art: ^0.8.0" to clipboard
enough_ascii_art: ^0.8.0 copied to clipboard

outdated

Generates ASCII art using image to ASCII conversion, FIGlet support and smiley to text translations.

example/enough_ascii_art_example.dart

import 'dart:io';
import 'package:enough_ascii_art/enough_ascii_art.dart';
import 'package:image/image.dart' as img;

void main() {
  var image = img.decodeImage(File('./example/enough.jpg').readAsBytesSync());
  var asciiImage = convertImage(image, maxWidth: 40, invert: true);
  print(asciiImage);
  var helloWithUtf8Smileys = 'hello world 😛';
  var helloWithTextSmileys =
      convertEmoticons(helloWithUtf8Smileys, EmoticonStyle.western);
  print(helloWithTextSmileys);
}
23
likes
0
pub points
69%
popularity

Publisher

verified publisherenough.de

Generates ASCII art using image to ASCII conversion, FIGlet support and smiley to text translations.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

image

More

Packages that depend on enough_ascii_art