Re: [hackers] [PATCH] [sent] Quick patch to replace png with farbfeld

From: Markus Teich <markus.teich_AT_stusta.mhn.de>
Date: Tue, 17 Nov 2015 17:53:54 +0100

Dimitris Papastamos wrote:
> Farbfeld is an intermediate format that is easy to parse and emit. Sent can
> use pipe + fork + exec. This is similar to how tar handles compressed
> archives.
>
> You will need the farbfeld tools somewhere in your PATH. The tools currently
> handle conversion between png and ff but there is nothing stopping you from
> also supporting jpg. This means that sent will also automatically work with
> jpgs as well.

Heyho,

actually that is exactly the plan. Have an array in config.h where you can
specify how to convert any file format you want to the only one natively
supported by sent. When reading an image from a _AT_FILENAME line, sent will
fork-exec the right tool to convert the input file to farbfeld format for
display. Then you can even use ff images with whatever compression you like. Any
improvements on this plan are welcome.

--Markus
Received on Tue Nov 17 2015 - 17:53:54 CET

This archive was generated by hypermail 2.3.0 : Tue Nov 17 2015 - 18:00:19 CET