Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
LIBANSILOVE(3)		     Library Functions Manual		  LIBANSILOVE(3)

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

DESCRIPTION
     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;
     };

AUTHORS
     libansilove was written by Stefan Vogt, Brian Cassidy, and Frederic Cambus.

FreeBSD ports 15.quarterly	 March 22, 2025 		  LIBANSILOVE(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=libansilove&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help