3 jpg, gif, png, tif, ppm, bmp, v210, yuv, ico, tga, tojpg, togeordi, togif, toppm, topng, totif, toico \- view and convert pictures
153 These programs read, display, and write image files in public formats.
164 read files in the corresponding formats and, by default, display
165 them in the current window; options cause them instead to convert the images
166 to Plan 9 image format and write them to standard output.
173 read Plan 9 images files, convert them to JPEG, GIF, PPM,
174 PNG, or TIFF and write them to standard output.
176 The default behavior of
189 or standard input if no file is named.
190 Once a file is displayed, typing a character causes the program to display the next image.
193 DEL, or control-D exits the program.
194 For a more user-friendly interface, use
196 which invokes these programs to convert the images to standard format,
197 displays them, and offers scrolling, panning, and menu-driven navigation among the files.
199 These programs share many options:
202 Disable Floyd-Steinberg error diffusion, which is used to improve the appearance
203 of images on color-mapped displays, typically with 8 bits per pixel.
204 Primarily useful for debugging; if the display has true RGB color, the image
205 will be displayed in full glory.
208 Convert and display the image as a black and white (really grey-scale) image.
211 Convert the image to an RGBV color-mapped image, even if the
212 display has true RGB color.
215 Suppress display of the image; this is set automatically by
216 any of the following options:
219 Convert the image to a Plan 9 representation, as defined by
221 and write it to standard output.
226 but produce an uncompressed image.
227 This saves processing time, particularly when the output is
228 being piped to another program such as
230 since it avoids compression and decompression.
233 Convert the image, if it is in color, to a true color RGB image.
238 but force the image to RGB even if it is originally grey-scale.
242 has two extra options used to process the output of the LML
246 Merge two adjacent images, which represent the two fields of a video picture,
250 The input is a motion JPEG file, with multiple images representing frames of the movie. Sets
260 programs go the other way: they convert from Plan 9 images to JPEG, GIF,
261 PPM, PNG, and TIFF and have no display capability.
262 They all accept an option
264 to set the comment field of the resulting file.
270 The default is to output plain PPM.
275 output grayscale images,
278 option makes it output scratched JPEG images.
286 accepts many options.
287 Choosing Huffman, T4, or T6 compression
288 forces the output to be a bilevel image.
291 Output a bilevel (GREY1) image.
294 Output a grayscale (GREY2) image.
297 Output a grayscale (GREY4) image.
300 Output a grayscale (GREY8) image.
303 Use Huffman compression.
306 Use T4 one-dimensional compression.
312 Use LZW compression with horizontal differencing.
313 Note that some TIFF decoders may not accept horizontal
314 differencing applied to images with depths less than eight.
317 Output a color (CMAP8) image.
320 Use Packbits compression.
323 Output a color (BGR24) image.
326 Use T4 two-dimensional compression.
331 If there is only one input picture,
333 converts the image to GIF format.
336 though, it will assemble them into an animated GIF file.
337 The options control this process:
340 By default, the animation will loop forever;
342 specifies how many times to loop.
343 A value of zero means loop forever and a negative value means
344 to stop after playing the sequence once.
347 By default, the images are displayed as fast as they can be rendered.
348 This option specifies the time, in milliseconds, to pause while
349 displaying the next named
353 translates files that contain a `transparency' index by attaching
354 an alpha channel to the converted image.
357 displays or converts a Windows icon (.ico) file. If no file is
360 reads from standard input.
362 contain sets of icons represented by an image and a mask. The
366 to convert the first icon in the set and write it to standard
367 output in compressed Plan 9 image format. Otherwise, the whole
368 icon set is displayed.
369 Clicking the right button pops up a menu that lets you
370 write any icon's image as a Plan 9 image (\fIwidth\fBx\fIheight\fB.image\fR),
371 write any icon's mask as a Plan 9 image (\fIwidth\fBx\fIheight\fB.mask\fR),
372 or exit. Selecting one of the write menu items yields a sight cursor.
373 Move the sight over the icon and right click again to write.
376 takes a list of Plan 9 image files (or standard input) and creates
377 a single icon file. The masks in the icon file will be the white
378 space in the image. The icon file is written to standard output.
387 .B http://www.w3.org/Graphics/JPEG/jfif3.pdf
389 .B http://www.w3.org/Graphics/JPEG/itu-t81.pdf
391 .B http://en.wikibooks.org/wiki/JPEG_-_Idea_and_Practice
393 .B http://en.wikipedia.org/wiki/JPEG
395 .B http://www.w3.org/Graphics/GIF/spec-gif89a.txt
397 .B http://www.w3.org/TR/2003/REC-PNG-20031110
399 .B http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf
401 .B http://netpbm.sourceforge.net/doc/ppm.html
403 .B http://en.wikipedia.org/wiki/Windows_bitmap
405 .B http://en.wikipedia.org/wiki/Yuv
407 Writing an animated GIF using
409 is a clumsy undertaking.