Project
ascii_pngfy
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Development
Licenses
MIT
Dependencies
Development
Runtime
= 1.4.0