farbfeld

suckless image format with conversion tools
git clone git://git.suckless.org/farbfeld
Log | Files | Refs | README | LICENSE

2ff.1 (739B)


      1 .Dd 2018-04-11
      2 .Dt 2FF 1
      3 .Os suckless.org
      4 .Sh NAME
      5 .Nm 2ff
      6 .Nd convert image to farbfeld
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Sh DESCRIPTION
     10 .Nm
     11 reads an image from stdin, converts it to
     12 .Xr farbfeld 5
     13 and writes the result to stdout.
     14 .Pp
     15 .Nm
     16 is a wrapper script around the farbfeld conversion tools
     17 with a fallback to obtaining a PNG using
     18 .Xr ImageMagick 1
     19 and passing it through
     20 .Xr png2ff 1 .
     21 .Pp
     22 In case of an error
     23 .Nm
     24 writes a diagnostic message to stderr.
     25 .Sh EXIT STATUS
     26 .Bl -tag -width Ds
     27 .It 0
     28 Image processed successfully.
     29 .It 1
     30 An error occurred.
     31 .El
     32 .Sh EXAMPLES
     33 $
     34 .Nm
     35 < image.* > image.ff
     36 .Pp
     37 $
     38 .Nm
     39 < image.* | bzip2 > image.ff.bz2
     40 .Sh SEE ALSO
     41 .Xr bzip2 1 ,
     42 .Xr ImageMagick 1 ,
     43 .Xr farbfeld 5
     44 .Sh AUTHORS
     45 .An Laslo Hunhold Aq Mt dev@frign.de