sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (4397B)


      1 ![farbfeld](farbfeld.svg)
      2 
      3 farbfeld is a lossless image format which is easy to parse, pipe and compress.
      4 It has the following format:
      5 
      6 	╔════════╤═════════════════════════════════════════════════════════╗
      7 	║ Bytes  │ Description                                             ║
      8 	╠════════╪═════════════════════════════════════════════════════════╣
      9 	║ 8      │ "farbfeld" magic value                                  ║
     10 	╟────────┼─────────────────────────────────────────────────────────╢
     11 	║ 4      │ 32-Bit BE unsigned integer (width)                      ║
     12 	╟────────┼─────────────────────────────────────────────────────────╢
     13 	║ 4      │ 32-Bit BE unsigned integer (height)                     ║
     14 	╟────────┼─────────────────────────────────────────────────────────╢
     15 	║ [2222] │ 4⋅16-Bit BE unsigned integers [RGBA] / pixel, row-major ║
     16 	╚════════╧═════════════════════════════════════════════════════════╝
     17 
     18 The RGB-data should be sRGB for best interoperability and not
     19 alpha-premultiplied.
     20 
     21 Dependencies
     22 ------------
     23 * [libpng](http://www.libpng.org/pub/png/libpng.html) - for png conversions
     24 * [libjpeg-turbo](http://libjpeg-turbo.virtualgl.org/) - for jpg conversions
     25 
     26 Development
     27 -----------
     28 You can [browse](//git.suckless.org/farbfeld) its source code repository or get
     29 a copy using the following command:
     30 
     31 	git clone https://git.suckless.org/farbfeld
     32 
     33 Download
     34 --------
     35 * [farbfeld-1](//dl.suckless.org/farbfeld/farbfeld-1.tar.gz) (2016-01-06)
     36 * [farbfeld-2](//dl.suckless.org/farbfeld/farbfeld-2.tar.gz) (2016-03-14)
     37 * [farbfeld-3](//dl.suckless.org/farbfeld/farbfeld-3.tar.gz) (2017-04-14)
     38 * [farbfeld-4](//dl.suckless.org/farbfeld/farbfeld-4.tar.gz) (2018-04-11)
     39 
     40 Also make sure to check your package manager. The following distributions
     41 provide packages:
     42 
     43 * [Alpine Linux](https://pkgs.alpinelinux.org/package/edge/community/x86_64/farbfeld)
     44 * [Arch Linux (AUR)](https://aur.archlinux.org/packages/farbfeld)
     45 * [Debian](https://packages.debian.org/farbfeld)
     46 * [FreeBSD](https://svnweb.freebsd.org/ports/head/graphics/farbfeld/)
     47 * [Gentoo](https://packages.gentoo.org/packages/media-gfx/farbfeld)
     48 * [NixOS](https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/libraries/farbfeld)
     49 * [OpenBSD](http://ports.su/graphics/farbfeld)
     50 * [Ubuntu](https://packages.ubuntu.com/farbfeld)
     51 * [Void Linux](https://github.com/void-linux/void-packages/tree/master/srcpkgs/farbfeld)
     52 
     53 Implementations
     54 ---------------
     55 * [imlib2](https://sourceforge.net/projects/enlightenment/files/imlib2-src/) library (implies support in feh,
     56   w3m, giblib, sxiv, conky, magicpoint, scrot, libcaca, etc.)
     57 * [lel](https://git.codemadness.org/lel/) farbfeld image viewer
     58 * [sent](//tools.suckless.org/sent/) presentation tool
     59 * [ff-tools](https://github.com/sirjofri/ff-tools) image filter/generator collection
     60 * [ffmk](https://github.com/sirjofri/ffmk) makefile-based farbfeld mixer
     61 * [Go encoder/decoder](https://github.com/hullerob/go.farbfeld)
     62 * [resize](https://github.com/ender672/farbfeld-resize) image filter
     63 * [gamut](https://github.com/erik/gamut) image filter collection
     64 * [gimp-farbfeld](https://github.com/ids1024/gimp-farbfeld) gimp plug-in
     65 * [farbfeld utilities](http://zzo38computer.org/fossil/farbfeld.ui/) huge collection of image filters
     66 * [ff2sixel](https://gitlab.com/link2xt/ff2sixel) farbfeld image viewer for SIXEL terminals
     67 * [xscreenshot](https://git.codemadness.org/xscreenshot/file/README.html) screen capture tool
     68 
     69 
     70 Author
     71 ------
     72 * Laslo Hunhold (dev@frign.de)
     73 
     74 Please contact me when you find information that could be added to this page.