bigweb/gif2text

There is no license information available for the latest version (dev-master) of this package.

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Language:HTML

dev-master 2015-11-11 09:54 UTC

This package is not auto-updated.

Last update: 2024-10-30 17:33:06 UTC


README

Gif image to Ascii Text..

See also img2text

Example

gif2text test.gif > out.html demo

Installation

$ composer require bigweb/gif2text

Usage

Usage:
  gif2text <imgfile> 
  gif2text (-h | --help)

You also can use it anywhere what you want at your application like this:

use Bigweb\Gif2text\Gif2text;

$options = [
        'maxLen'   => 100,
    ];
$template = __DIR__ . '/template.html';
$img = new Gif2text($gifPath, $template, $options);
echo $img->render();

Thanks

  1. Use https://github.com/docopt/docopt.php to create beautiful command-line interface
  2. Use https://github.com/Intervention/image to process image
  3. Thanks @hit9, This project stolen from https://github.com/hit9/img2txt

License

BSD.