Introduction
libcaca is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals. It is not unlike the famous AAlib library, with the following improvements:
- Unicode support
- 2048 available colours (some devices can only handle 16)
- dithering of colour images
- advanced text canvas operations (blitting, rotations)
Libcaca works in a text terminal (and should thus work on all Unix systems including Mac OS X) using the S-Lang or ncurses libraries. It also works natively on DOS and Windows.
Libcaca was written by Sam Hocevar and Jean-Yves Lamoureux. It is free software, and can be used, modified and distributed under the terms of the Do What The Fuck You Want To Public License.
Screenshots
Here are a few libcaca screenshots.
cacaview
|
cacaball
|
cacaplas
|
TrueColor |
|
Unicode |
swallowing applications |
canvas rotation |
ANSI to PNG |
Download
The latest development version of libcaca is 0.99.beta19 (16 May 2014):
The old, deprecated 0.9 release is still available. You are encouraged to evaluate and use 0.99, though.
Development
Read the following if you wish to hack on libcaca:
Development happens in a centralised Subversion repository:
There is also a Git repository that mirrors the central one:
- using the Git protocol: git://git.zoy.org/libcaca.git
- using HTTP: http://caca.zoy.org/git/libcaca.git
Why?
Que dites-vous ?... C’est inutile ?... Je le sais !
Mais on ne se bat pas dans l’espoir du succès !
Non ! non, c’est bien plus beau lorsque c’est inutile !
-- Edmond Rostand, Cyrano de Bergerac
I am perfectly aware that libcaca is the waste of time it looks to be. No need to tell me about that. I urge you to read Théophile Gautier’s preface to Mademoiselle de Maupin, which also gives an excellent explanation for the name “libcaca”:
Il n’y a rien de vraiment beau que ce qui ne peut servir à rien ; tout ce qui est utile est laid ; car c’est l’expression de quelque besoin ; et ceux de l’homme sont ignobles et dégoûtants, comme sa pauvre et infirme nature. - L’endroit le plus utile d’une maison, ce sont les latrines.
Attachments (24)
- libcaca-0.9.tar.gz (212.1 KB) - added by 16 years ago.
- libcaca-0.9.tar.bz2 (167.8 KB) - added by 16 years ago.
- libcaca-win32-0.9.zip (94.7 KB) - added by 16 years ago.
- libcaca-0.99.beta1.tar.gz (620.9 KB) - added by 16 years ago.
- libcaca-0.99.beta2.tar.gz (684.1 KB) - added by 16 years ago.
- libcaca-0.99.beta3.tar.gz (680.3 KB) - added by 16 years ago.
- libcaca-0.99.beta4.tar.gz (686.4 KB) - added by 16 years ago.
- libcaca-0.99.beta5.tar.gz (692.0 KB) - added by 16 years ago.
- libcaca-0.99.beta6.tar.gz (693.0 KB) - added by 16 years ago.
- libcaca-0.99.beta7.tar.gz (695.4 KB) - added by 16 years ago.
- libcaca-0.99.beta8.tar.gz (700.4 KB) - added by 16 years ago.
- libcaca-0.99.beta9.tar.gz (710.6 KB) - added by 16 years ago.
- libcaca-0.99.beta10.tar.gz (750.8 KB) - added by 16 years ago.
- libcaca-0.99.beta11.tar.gz (755.9 KB) - added by 16 years ago.
- libcaca-0.99.beta12.tar.gz (857.7 KB) - added by 16 years ago.
- libcaca-0.99.beta13.tar.gz (927.1 KB) - added by 16 years ago.
- libcaca-0.99.beta13b.tar.gz (927.4 KB) - added by 16 years ago.
- libcaca-0.99.beta14.tar.gz (951.0 KB) - added by 16 years ago.
- libcaca-0.99.beta15.tar.gz (939.8 KB) - added by 16 years ago.
- libcaca-0.99.beta16.tar.gz (943.9 KB) - added by 16 years ago.
- libcaca-0.99.beta17.tar.gz (1.1 MB) - added by 15 years ago.
-
libcaca-win32-binaries.tar.gz (854.8 KB) - added by 15 years ago.
Win32 binary snapshot
- libcaca-0.99.beta18.tar.gz (1.1 MB) - added by 13 years ago.
- libcaca-0.99.beta19.tar.gz (1.1 MB) - added by 10 years ago.