farbfeld

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

ff2jpg.1 (989B)


      1 .Dd 2018-04-11
      2 .Dt FF2JPG 1
      3 .Os suckless.org
      4 .Sh NAME
      5 .Nm ff2jpg
      6 .Nd convert farbfeld to JPG
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Op Fl b Ar colour
     10 .Op Fl o
     11 .Op Fl q Ar quality
     12 .Sh DESCRIPTION
     13 .Nm
     14 reads a
     15 .Xr farbfeld 5
     16 image from stdin, converts it to JPG (8-bit RGB) and writes the result to
     17 stdout.
     18 .Pp
     19 In case of an error
     20 .Nm
     21 writes a diagnostic message to stderr.
     22 .Sh OPTIONS
     23 .Bl -tag -width Ds
     24 .It Fl b Ar colour
     25 Blend the transparent colours with
     26 .Ar colour
     27 specified as rgb, rrggbb or rrrrggggbbbb. The default is fff.
     28 .It Fl o
     29 Optimize the Huffman table, which reduces the file size but takes longer.
     30 .It Fl q Ar quality
     31 Set the output
     32 .Ar quality
     33 ranging from 0 to 100. The default is 85.
     34 .El
     35 .Sh EXIT STATUS
     36 .Bl -tag -width Ds
     37 .It 0
     38 Image processed successfully.
     39 .It 1
     40 An error occurred.
     41 .El
     42 .Sh EXAMPLES
     43 $
     44 .Nm
     45 < image.ff > image.jpg
     46 .Pp
     47 $ bunzip2 < image.ff.bz2 |
     48 .Nm
     49 -b 0f0 -q 90 > image.jpg
     50 .Sh SEE ALSO
     51 .Xr bzip2 1 ,
     52 .Xr farbfeld 5
     53 .Sh AUTHORS
     54 .An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org