[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libcaca] Null Driver and HTML output
I've uploaded an example on how to use null driver and HTML output in
It needs latest libcaca SVN version (at the time I'm writing this email).
It basically loads an image through imlib2, and write corresponding html
file. Resolution is image/10.
null driver was added to avoid any depency on any display library.
Usefull if you plan to make a cgi or a command line tool.
Please note that HTML output has two behaviours.
caca_get_html() will return a quite optimized output, using CSS to store
caca_get_html3() will return a (much) bigger output, but will be
compatible even with old browsers (and/or text-mode ones, such as links)
This is the libcaca mailing-list, see http://sam.zoy.org/libcaca/
Trouble unsubscribing? Please contact <firstname.lastname@example.org>
List archives are at http://sam.zoy.org/libcaca/threads.html