9fans archive / 1997 / 09 / 50 / prev next From: forsyth@cal... forsyth@cal... Subject: [9fans] XaoS - first useable version Date: Wed, 10 Sep 1997 08:06:18 BST >>(IMO). As I saw in doc, plan9 has its own image format (pic) so I should >>save it into it. But I din't found any library for that except tifflib, >>wich looks rather strange and non-plan9ish. Is there any way to handle there's a separate libfb (<fb.h>), which is the one that supports the pic file format. man 2 wrbitmapfile describes the libg primitive for writing Bitmaps to files. Plan 9's version of that routine doesn't write a compressed format, unlike (say) Inferno's equivalent. the pic file writer in libfb can write compressed pic files, though, and you can then fiddle directly with images using the fb commands, so on balance pic might be the best one to use.