Re: [hackers] [sent] [PATCH 2/2] replace farbfeld with libnetpbm

2015-12-10 Thread Grant Mathews
On Fri, Dec 11, 2015 at 01:30:52AM +0100, Markus Teich wrote: > sent with farbfeld uses a separate process instead of linking to a > library and is therefore more UNIXy and sucks less. This patch still does all the file conversion in a separate process, and sent still uses an external library

Re: [hackers] [sent] [PATCH 2/2] replace farbfeld with libnetpbm

2015-12-10 Thread Grant Mathews
On Thu, Dec 10, 2015 at 04:39:49PM +0100, FRIGN wrote: > Netpbm is arguably almost more complex than BMP and not easy to handle. It's literally the top result when I search for the phrase "simplest image format". I've written PPM loaders by hand in projects too small for a makefile. > We could

[hackers] [sent] [PATCH 1/2] filter via shell pipeline

2015-12-09 Thread Grant Mathews
Instead of requiring an executable, allow building arbitrary shell pipelines to filter filetypes through. --- sent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sent.c b/sent.c index fc5e389..99361e8 100644 --- a/sent.c +++ b/sent.c @@ -152,8 +152,8 @@ filter(int fd,

[hackers] [sent] [PATCH 2/2] replace farbfeld with libnetpbm

2015-12-09 Thread Grant Mathews
Since the PNM/PAM format already exist as a minimal intermediate representation with a rich set of commandline tools to manipulate them, use Netpbm to handle images. --- README.md| 8 ++--- config.def.h | 5 +-- config.mk| 2 +- example | 2 +- sent.c | 105