Friday, 29th March 2024

Comment posted Viewing JPEG,GIF and PNG in ASCII with cacaview on GNU / Linux – Review on caca-utils text mode graphics utilities by .

Recent comments by

Share this on:

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

No Responses to “…”

  1. hip0 says:
    Epiphany 2.30.6 Epiphany 2.30.6 Debian GNU/Linux x64 Debian GNU/Linux x64
    Mozilla/5.0 (X11; U; Linux x86_64; bg-bg) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6

    Another tool I’ve found capable of converting images to text is jp2a
    http://csl.sublevel3.org/jp2a/.

    It has version for major Unix like OSes Mac OS X, Debian, Gentoo, FreeBSD. Here is how to install jp2a on this OSes.

    Mac OS X

    port install jp2a

    FreeBSD

    You can use the Freshports:
    pkg_add -r jp2a

    Debian

    You can use the Debian package:
    apt-get install jp2a
    Gentoo

    You can use the Gentoo package:
    emerge jp2a

    Interesting functionality of jp2a is converting images to ascii right from the web. Here is a paste from the project site:

    Reading images off the net

    jp2a now handles downloading by using libcurl. Just do this:
    jp2a http://foo.bar/image.jpg

    One advantage of img2txt use instead is it supports JPEG and GIF out of the box, where if jp2a is used. a Convertion with imagemagick convert is first necessery, like so:

    # convert somefile.png jpg:- | jp2a –width=76 –
    #convert bender.bmp -modulate 170 -rotate 45 jpg:- | jp2a –

    View CommentView Comment