bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting ASCII to an image


From: sunnycemetery
Subject: Re: Converting ASCII to an image
Date: Sat, 23 Feb 2019 15:27:49 -0500
User-agent: Mutt/1.11.3 (2019-02-01)

On 2019-02-12 09:41, Bryan Christ wrote:
Does anyone know of a library that will convert ASCII or a the contents of
a WINDOW to a bitmap?  I know that aalib does it the other way around and
I'm basically looking for the inverse.

Does this question pertain to ncurses WINDOW structures (in light of of this mailing list's topic) or simply the windows of terminal emulators (in light of the reference to aalib). If it's the latter you're after, use any old screenshot utility (e.g. ImageMagick's import).

If it's the former you're after, color me interested.  😃

On the other hand, if it's converting text you're after, try the following (ImageMagick):

convert -size 128x28 xc:white -draw 'text 8,18 "XTerm fallback fonts!"' hooray.png



reply via email to

[Prev in Thread] Current Thread [Next in Thread]