RubyGems Navigation menu

ascii_pngfy 0.2.0

AsciiPngfy is a Ruby Gem that enables you to render ASCII text into a PNG image up to a resolution of 3840(width) by 2160(height) using a 5x9 monospaced font. Configurable settings that influence the result are font-color, background-color, font-height, horizontal-spacing, vertical-spacing, and text. The result includes the PNG containing the intended image with all the settings applied, a snapshot of the settings used, and render dimensions that define the size the generated png should be rendered at to reflect the font-height settings. The generated png is always the lowest possible resolution. Each monospaced character takes up a 5(width) by 9(height) space to take advantage of scaled rendering and avoid unnecessarily large images. For the best visual results, the resulting png should be rendered in the original dimensions or the render dimensions along with a NEAREST filter.

Gemfile:
=

安裝:
=

版本列表:

  1. 0.2.0 February 08, 2021 (13.5 KB)
顯示所有版本(共 2)

Runtime 相依性套件 (1):

chunky_png = 1.4.0

Development 相依性套件 (5):

minitest = 5.14.3
rake = 13.0.3
rubocop = 1.9.1
rubocop-minitest = 0.10.3

擁有者:

推送者:

作者:

  • Sven Garson

SHA 256 總和檢查碼:

=

總下載次數 1,800

這個版本 1,795

版本发布:

授權:

MIT

Ruby 版本需求: ~> 2.7.2

相關連結: