ff2txt

display a farbfeld(5)-formatted image as braille or ascii text
Log | Files | Refs | README

commit f1449ce65e9511b49df15a3a56769b831cafd631
parent 1b7f84f5eed357743b19d90188c0dcc0736db014
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu, 15 Feb 2018 00:19:40 +0100

[del] merge the two man pages

Diffstat:
Dff2braille.1 | 29-----------------------------
Dff2col.1 | 34----------------------------------
Aff2txt.1 | 64++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 64 insertions(+), 63 deletions(-)

diff --git a/ff2braille.1 b/ff2braille.1 @@ -1,29 +0,0 @@ -.Dt FF2BRAILLE 1 -.Dd $Mdocdate: January 22 2018$ -.Os -. -. -.Sh NAME -. -.Nm ff2braille -.Nd farbfeld to text braille pattern image conversion -. -. -.Sh SYNOPSIS -. -.Nm -. -. -.Sh DESCRIPTION -. -.Nm -reads a -.Xr farbfeld 5 -image from stdin and write a text representation of the image using braille -characters to stdout. -. -. -.Sh EXIT STATUS -. -.Ex -std -. diff --git a/ff2col.1 b/ff2col.1 @@ -1,34 +0,0 @@ -.Dt FF2COL 1 -.Dd $Mdocdate: January 22 2018$ -.Os -. -. -.Sh NAME -. -.Nm ff2col -.Nd farbfeld to text column, comma, single-quote image conversion -. -. -.Sh SYNOPSIS -. -.Nm -. -. -.Sh DESCRIPTION -. -.Nm -reads a -.Xr farbfeld 5 -image from stdin and write a text representation of the image using -.Dq \&'\&.\&: -characters to stdout. -. -. -.Sh EXIT STATUS -. -.Ex -std -. -. -.Sh EXAMPLES -. -.Dl pg2ff < image.png | ff2col > file.txt diff --git a/ff2txt.1 b/ff2txt.1 @@ -0,0 +1,64 @@ +.Dt FF2TXT 1 +.Dd $Mdocdate: February 15 2018$ +.Os +. +. +.Sh NAME +. +.Nm ff2braille , +.Nm ff2col +.Nd farbfeld to plain text pattern image conversion +. +. +.Sh SYNOPSIS +. +.Nm ff2braille < image.ff +.Nm ff2col < image.ff +. +. +.Sh DESCRIPTION +. +.Nm ff2braille +and +.Nm ff2col +read a +.Xr farbfeld 5 +image from stdin and write a text representation of the image to stdout using braille +characters for +.Nm ff2braille +or +.Sq \&. , +.Sq \&: , +and +.Sq \&' +characters for +.Nm ff2col +. +. +.Sh EXIT STATUS +. +.Ex -std +. +. +.Sh EXAMPLES +. +Converting an image.png to a braille representation image.txt: +.Dl % png2ff < image.png | ff2braille > image.txt +. +Converting an image.jpg to an ascii representation image.txt: +.Dl % jpg2ff < image.jpg | ff2col > image.txt +. +. +.Sh SEE ALSO +. +.Xr png2ff 1 , +.Xr jpg2ff 1 +. +.Pp +.Lk https://tools.suckless.org/farbfeld "The Farbfeld image format" +. +. +.Sh AUTHROS +. +.An Josuah Demangeon +.Aq Mt mail@josuah.net