☰ Menu
CLI Open source 8 installs/mo

ansilove for Mac

ansilove

ANSI/ASCII art to PNG converter

ansilove — overview

AnsiLove/C

AnsiLove is an ANSI and ASCII art to PNG converter, allowing 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 SAUCE (Standard Architecture for Universal Comment Extensions), 80x25 and 80x50 PC fonts (including all the 14 MS-DOS charsets), Amiga fonts, and iCE colors.

This is a complete rewrite of AnsiLove/PHP in the C programming language.

Experimental seccomp support is available for selected architectures and can be enabled by setting the ENABLE_SECCOMP variable to 1 when invoking CMake.

Specs

AnsiLove/C is strictly using the C99 standard to achieve high portability to all major operating systems. Supported compilers are GCC and Clang, others may work but aren't tested. We use Linux and OpenBSD for AnsiLove/C development.

Why C?

There were many reasons, most notably PHP interpreter independence and performance. A solid C foundation is just perfect for creating libraries and it can easily be embedded into applications. We already mentioned portability. What else? We wanted evolution. AnsiLove/C should not be understood as a port. It takes many different approaches (like processing binary font dumps or generating @2x Retina images), it is overall improved and introduces new features. While results tend to be the same, the codebase does not have much in common with it's ancestor.

Dependencies

AnsiLove/C uses the CMake build system and requires the libansilove library and header files.

Installing dependencies OpenBSD: pkg_add -r cmake NetBSD: pkgin install cmake FreeBSD: pkg install cmake macOS: brew install cmake Alpine Linux: apk add cmake gcc make musl-dev Debian / Ubuntu / Mint: apt-get install build-essential cmake Fedora: dnf install cmake gcc make Solus: eopkg install -c system.devel

Binary packages for libansilove are available on OpenBSD, NetBSD, FreeBSD, Debian, Ubuntu, and Solus.

On other systems, libansilove has to be installed manually.

Compiling

mkdir build cd build cmake .. make

Packages

Ansilove packages are available for: OpenBSD NetBSD FreeBSD Debian Ubuntu openSUSE Solus Gentoo Homebrew Guix Nix

Features

The following formats are supported: .ANS - ANSi (ANSI escape sequences: ANSI X3.64 standard), including PabloDraw 24-bit color sequences .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

Files with custom suffix default to the ANSi renderer (e.g. ICE or CIA).

Details

ANSI/ASCII 艺术转 PNG 转换器

How to install ansilove

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2026-11-02; current version 4.2.3, with the latest 10 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
4.2.32026-11-02Stable43 KBDownload——
4.2.22026-06-10Stable41 KB———
4.2.12025-03-24Stable41 KB———
4.2.02023-05-23Stable41 KB———
4.1.72023-03-30Stable41 KB———
4.1.62022-02-10Stable40 KB———
4.1.52021-02-14Stable40 KB———
4.1.42020-10-22Stable40 KB———
4.1.32020-09-18Stable40 KB———
4.1.22020-07-04Stable39 KB———

Data from GitHub Releases; stable releases first, each group sorted newest first.

Depended on by 2 apps

The following apps install it automatically, ranked by 30-day installs:

Compared with similar apps

Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
ansilove4.2.3BSD-2-ClauseCLI8
libansilove1.4.5BSD-2-ClauseCLI109
objconv2026-05-14GPL-3.0-or-laterCLI8
shivavg0.2.1LGPL-2.1-or-laterCLI8

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…