
On Apr 2, 2008, at 0:12 , Roman Cheplyaka wrote:
* Brandon S. Allbery KF8NH
[2008-04-01 20:04:38-0400] X11 doesn't speak any file-based format. There are some formats which are close to the wire protocol: xbm for fonts, cursors, and depth-1 windows, and xpm for other bit depths. But when it comes down to it, the program has to read whatever format you give it and populate a Pixmap, then blit that to the window.
Pretty close to what I expected. So, are there programs capable of converting jpegs to pixmaps and saving to file? qiv doesn't seem to have such option.
ImageMagick's convert, jpeg2pnm | ppmtoxpm, djpeg | ppmtoxpm for three off the top of my head. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH