diff options
| author | stkhan <personal@slickd.xyz> | 2022-03-18 08:09:07 -0800 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2022-03-18 08:09:07 -0800 |
| commit | e20a439f0de08052fad50669fd005dee14d40cae (patch) | |
| tree | 8ffed60a1dce40ae64fd8f336a4d1b5d103683f1 /farbfeld/2ff.1 | |
| parent | a33351c3345f7b8657e6415878a73b5fedb09d72 (diff) | |
Update dwm, added farbfeld, sent, and wmname plus more
Diffstat (limited to 'farbfeld/2ff.1')
| -rw-r--r-- | farbfeld/2ff.1 | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/farbfeld/2ff.1 b/farbfeld/2ff.1 new file mode 100644 index 0000000..426e3fd --- /dev/null +++ b/farbfeld/2ff.1 @@ -0,0 +1,45 @@ +.Dd 2018-04-11 +.Dt 2FF 1 +.Os suckless.org +.Sh NAME +.Nm 2ff +.Nd convert image to farbfeld +.Sh SYNOPSIS +.Nm +.Sh DESCRIPTION +.Nm +reads an image from stdin, converts it to +.Xr farbfeld 5 +and writes the result to stdout. +.Pp +.Nm +is a wrapper script around the farbfeld conversion tools +with a fallback to obtaining a PNG using +.Xr ImageMagick 1 +and passing it through +.Xr png2ff 1 . +.Pp +In case of an error +.Nm +writes a diagnostic message to stderr. +.Sh EXIT STATUS +.Bl -tag -width Ds +.It 0 +Image processed successfully. +.It 1 +An error occurred. +.El +.Sh EXAMPLES +$ +.Nm +< image.* > image.ff +.Pp +$ +.Nm +< image.* | bzip2 > image.ff.bz2 +.Sh SEE ALSO +.Xr bzip2 1 , +.Xr ImageMagick 1 , +.Xr farbfeld 5 +.Sh AUTHORS +.An Laslo Hunhold Aq Mt dev@frign.de |