sites

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

index.md (4700B)


      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] │ 4x16-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](https://ports.su/graphics/farbfeld)
     50 * [Slackware](https://slackbuilds.org/repository/15.0/graphics/farbfeld/)
     51 * [Ubuntu](https://packages.ubuntu.com/farbfeld)
     52 * [Void Linux](https://github.com/void-linux/void-packages/tree/master/srcpkgs/farbfeld)
     53 
     54 Implementations
     55 ---------------
     56 * [farbfeld.js](https://github.com/cheznewa/farbfeld.js) Farbfeld Javascript-polyfill using canvas-elements
     57 * [image](https://crates.io/crates/image) Rust crate for image processing
     58 * [imlib2](https://sourceforge.net/projects/enlightenment/files/imlib2-src/) library (implies support in feh,
     59   w3m, giblib, sxiv, conky, magicpoint, scrot, libcaca, etc.)
     60 * [lel](https://git.codemadness.org/lel/) farbfeld image viewer
     61 * [sent](//tools.suckless.org/sent/) presentation tool
     62 * [ff-tools](https://github.com/sirjofri/ff-tools) image filter/generator collection
     63 * [ffmk](https://github.com/sirjofri/ffmk) makefile-based farbfeld mixer
     64 * [Go encoder/decoder](https://github.com/hullerob/go.farbfeld)
     65 * [resize](https://github.com/ender672/farbfeld-resize) image filter
     66 * [gamut](https://github.com/erik/gamut) image filter collection
     67 * [gimp-farbfeld](https://github.com/ids1024/gimp-farbfeld) gimp plug-in
     68 * [farbfeld utilities](https://web.archive.org/web/20211205013032/http://zzo38computer.org/fossil/farbfeld.ui/index) huge collection of image filters
     69 * [ff2sixel](https://gitlab.com/link2xt/ff2sixel) farbfeld image viewer for SIXEL terminals
     70 * [xscreenshot](https://git.codemadness.org/xscreenshot/file/README.html) screen capture tool
     71 
     72 
     73 Author
     74 ------
     75 * Laslo Hunhold (dev@frign.de)
     76 
     77 Please contact me when you find information that could be added to this page.