img2text

0.0.3 • Public • Published

node-img2text

My version of Hit9's img2txt, written in javascript.

Installing

npm install img2text -g

Arguments

img2text <imgfile> [-a] [--font-size=<fontsize>]

or

i2t <imgfile> [-a] [--font-size=<fontsize>]

the optional arguments :

-a              Enable ascii mode
--font-size     The font-size(px) pf text in the html, default:5.

The results will be in the result.html file.

Todo

  • I'm gonna add some extra options such as pixelspacing in between pixels and/or automatic calculation of pixelspacing.
  • Add another way to receive the results from the script.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i img2text

    Weekly Downloads

    1

    Version

    0.0.3

    License

    ISC

    Last publish

    Collaborators

    • 96aa48