Coder Social home page Coder Social logo

andrewmichaelson / libansilove Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ansilove/libansilove

0.0 1.0 0.0 335 KB

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

Home Page: https://www.ansilove.org

License: BSD 2-Clause "Simplified" License

CMake 0.27% C 99.31% Roff 0.42%

libansilove's Introduction

libansilove

Build Status

libansilove is a library to convert ANSi and artscene related file formats into PNG images.

Dependencies

libansilove uses the CMake build system and requires the GD library and header files.

Installing dependencies

  • OpenBSD: pkg_add -r cmake gd
  • NetBSD: pkgin install cmake gd
  • FreeBSD: pkg install cmake gd
  • Mac OS X: brew install cmake gd
  • Alpine Linux: apk add cmake gcc make musl-dev gd-dev
  • Debian / Ubuntu / Mint: apt-get install cmake libgd-dev
  • Solus: eopkg install -c system.devel and eopkg install gd-devel

Compiling

mkdir build
cd build
cmake ..
make

Installation

make install

Features

The following formats are supported:

  • .ANS - ANSi (ANSI escape sequences: ANSI X3.64 standard)
  • .PCB - PCBoard Bulletin Board System (BBS) own file format
  • .BIN - Binary format (raw memory copy of text mode video memory)
  • .ADF - Artworx format, supporting custom character sets and palettes
  • .IDF - iCE Draw format, supporting custom character sets and palettes
  • .TND - TundraDraw format, supporting 24-bit color mode
  • .XB - The eXtended Binary XBin format, supporting custom character sets and palettes

Documentation

Usage

See the example directory for an example showing how to use the library to convert a file to PNG.

Who pulls the strings

libansilove is developed by Stefan Vogt (@ByteProject), Brian Cassidy (@bricas) and Frederic Cambus (@fcambus).

License

libansilove is released under the BSD 2-Clause License. See the file LICENSE for details.

Resources

GitHub: https://github.com/ansilove/libansilove

libansilove's People

Contributors

fcambus avatar jan2642 avatar kirkman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.