sites

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

commit eda0f45f620f1b30d8127ecbd39523a34bd98c2e
parent c81dc30cfcc79ebb174a723d5119a9f5f46aa3f7
Author: Laslo Hunhold <dev@frign.de>
Date:   Fri, 24 Jan 2020 08:49:18 +0100

Add some more information on farbfeld

This includes the imlib2-implementation and some reflections
on metadata.

Signed-off-by: Laslo Hunhold <dev@frign.de>

Diffstat:
Mtools.suckless.org/farbfeld/faq/index.md | 20++++++++++++++++++++
Mtools.suckless.org/farbfeld/index.md | 2++
2 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/tools.suckless.org/farbfeld/faq/index.md b/tools.suckless.org/farbfeld/faq/index.md @@ -54,6 +54,26 @@ bzip2 is recommended, which is widely available (anybody has it) and gives good results. As time will move forward and new algorithms hit the market, this recommendation might be rethought. +Is metadata supported? +---------------------- + +Almost every image format out there has special offsets or locations +where metadata is stored. In itself, there are several different metadata +formats (Exif, XMP, etc.). For farbfeld, to keep it simple, there are +no provisions within the file format for metadata. Instead, one can +use so-called sidecar files (also known as buddy files or connected +files). As an example, to provide metadata for an image.ff.bz2, one can +add a file called image.xmp that contains XMP metadata for said image. + +An added advantage of this approach is that the metadata is independent +of the image compression. As argued above, compression is vital for +farbfeld to be used efficiently, but when thinking of an application +that lists farbfeld-images in a folder, it might want to access +metadata as fast as possible. + +The use of multiple files for one entity is a downside, but it wouldn't +be a problem at all if modern file systems supported forks. + What about NetPBM? ------------------ NetPBM is considered to be the most simple format around, however, there's much diff --git a/tools.suckless.org/farbfeld/index.md b/tools.suckless.org/farbfeld/index.md @@ -52,6 +52,8 @@ provide packages: Implementations --------------- +* [imlib2](https://sourceforge.net/projects/enlightenment/files/imlib2-src/) library (implies support in feh, + w3m, giblib, sxiv, conky, magicpoint, scrot, libcaca, etc.) * [lel](http://git.2f30.org/lel) farbfeld image viewer * [sent](//tools.suckless.org/sent/) presentation tool * [Go encoder/decoder](https://github.com/hullerob/go.farbfeld)