ansilove for Mac
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
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2026-11-02; current version 4.2.3, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| 4.2.3 | 2026-11-02 | Stable | 43 KB | Download | — | — |
| 4.2.2 | 2026-06-10 | Stable | 41 KB | — | — | — |
| 4.2.1 | 2025-03-24 | Stable | 41 KB | — | — | — |
| 4.2.0 | 2023-05-23 | Stable | 41 KB | — | — | — |
| 4.1.7 | 2023-03-30 | Stable | 41 KB | — | — | — |
| 4.1.6 | 2022-02-10 | Stable | 40 KB | — | — | — |
| 4.1.5 | 2021-02-14 | Stable | 40 KB | — | — | — |
| 4.1.4 | 2020-10-22 | Stable | 40 KB | — | — | — |
| 4.1.3 | 2020-09-18 | Stable | 40 KB | — | — | — |
| 4.1.2 | 2020-07-04 | Stable | 39 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.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| ansilove | 4.2.3 | BSD-2-Clause | CLI | 8 |
| libansilove | 1.4.5 | BSD-2-Clause | CLI | 109 |
| objconv | 2026-05-14 | GPL-3.0-or-later | CLI | 8 |
| shivavg | 0.2.1 | LGPL-2.1-or-later | CLI | 8 |
Similar apps: Command-line Tools
libansilove
Library for converting ANSI, ASCII, and other formats to PNGobjconv
objconv is a command-line object file conversion tool for developers, primarily used to convert…shivavg
shivavg is a command-line tool for developers that provides an ANSI C implementation of the…gti
ASCII-art displaying typo-corrector for commandsopenssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratioCategories: Command-line Tools