terminal_images

A Deno module and CLI tool for printing images to the console. 🖼️

MIT License

Stars
51
Committers
1

Bot releases are hidden (Show)

terminal_images - Version 3.1.0 Latest Release

Published by mjrlowe over 1 year ago

  • Added support for PNGs with color palettes (PLTE) (#4)
  • Resolve promise on completing printImage (#3)
  • Updated broken image URLs (#5)
  • Fixed bug where some transparent images wouldn't display properly
  • Fixed bug where very small images wouldn't be displayed at the requested size
  • Formatted using deno fmt and code is now (more) compliant with deno lint (#6)

Thanks to everyone who reported the issues above. :)

terminal_images - Version 3.0.0

Published by mjrlowe over 3 years ago

  • Added support for GIFs (including animated GIFs)
  • Added support for transparency
  • Color is on by default now
  • Renamed printImageString to printImage
  • getImageString is now getImageStrings, and returns an array of strings (frames of an animation)
  • Added transparencyThreshold and animationLoops as new settings (see readme for more info)
  • Moved all the image decoding stuff to a new file (decode.ts)
terminal_images - Version 2.1.2

Published by mjrlowe almost 4 years ago

  • Fixed incorrect unpng version which broke the whole module
terminal_images - Version 2.1.1

Published by mjrlowe almost 4 years ago

  • Fixed #2 (type errors to do with raw files)
terminal_images - Version 2.1.0

Published by mjrlowe almost 4 years ago

  • Added rawFile and rawPixels, which you can use to pass in raw data to produce the image, rather than providing a file with path.
terminal_images - Version 2.0.0

Published by mjrlowe almost 4 years ago

  • Added a high(er) resolution image mode, and changed the API a bit to accommodate this.
  • Characters such as emojis that have non-standard width now work (mostly--there is still problems with modifier characters such as emoji skin tones and some other minor bugs I need to squash)
terminal_images - Version 1.1.0

Published by mjrlowe almost 4 years ago

  • Added basic support for all Unicode characters
  • Added --help and --version commands
terminal_images - Version 1.0.1

Published by mjrlowe almost 4 years ago

  • Finished documentation in README
  • Added jsdoc documentation
  • Formatted files with deno fmt
  • Updated std to 0.77.0
terminal_images - Version 1.0.0

Published by mjrlowe almost 4 years ago

No major changes. There is now proper documentation for how to .use the module and CLI tool.

terminal_images - Version 0.2.0

Published by mjrlowe almost 4 years ago

  • PNG/JPG file format is now automatically detected. (No need for file extensions anymore.)
  • Added shortened CLI flags (such as -c for --color) and added some extremely basic documentation in the README on it.
  • You can now use an array of strings for the character map if you are importing the module (not when using the CLI tool).
terminal_images - Version 0.1.0

Published by mjrlowe almost 4 years ago

  • Added support for using URLs as the file path (as long as the URLs end with a .png or .jpg)
  • There is now a minimum width (unless manually overwritten) of 12
  • terminal_images is now on nest.land
terminal_images - Version 0.0.2

Published by mjrlowe almost 4 years ago

  • CLI tool now actually works, and takes in a bunch of arguments
  • Functions exported from mod.ts take in objects
  • Added a little more to the readme
  • A few very minor improvements to the code
terminal_images - Version 0.0.1

Published by mjrlowe almost 4 years ago

First release.
Support for converting a PNG or JPG image into text and outputting it to the console as well as a (very) minimal CLI tool.