GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LIBANSILOVE(3) FreeBSD Library Functions Manual LIBANSILOVE(3)

libansilove
Library for converting ANSI, ASCII, and other formats to PNG

libansilove is a library to convert ANSi and artscene related file formats into PNG images, supporting ANSI (.ANS), PCBoard (.PCB), Binary (.BIN), Artworx (.ADF), iCE Draw (.IDF), Tundra (.TND) and XBin (.XB) formats.

It creates size optimized 4-bit PNG files and supports 80x25 and 80x50 PC fonts (including all the 14 MS-DOS charsets), Amiga fonts, and iCE colors.

All library functions take a context, defined as an ansilove_ctx structure in include/ansilove.h:

struct ansilove_ctx {
        uint8_t *buffer;
        size_t maplen;
        size_t length;
        struct ansilove_png png;
        uint8_t error;
};

Options are passed to the different loaders using the ansilove_options structure in include/ansilove.h:

struct ansilove_options {
        bool diz;
        bool dos;
        bool icecolors;
        bool truecolor;
        int16_t columns;
        uint8_t font;
        uint8_t bits;
        uint8_t mode;
        uint8_t scale_factor;
};

libansilove was written by Stefan Vogt, Brian Cassidy, and Frederic Cambus.
February 10, 2022 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.