Socket
Socket
Sign inDemoInstall

img2text

Package Overview
Dependencies
61
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    img2text

My port of Hit9's img2txt script.


Version published
Maintainers
1
Install size
4.54 MB
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 23 May 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc