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 grey-scale images,
278 option makes it output scratched JPEG images.
286 accepts many options.
287 Choosing Huffman, T4, or T6 compression
288 forces the image to GREY1.
291 Convert the image to a true color RGB image.
294 Convert the image to a GREY1 black and white image.
297 Use T4 one-dimensional compression.
300 Use T4 two-dimensional compression.
303 Use Huffman compression.
306 Convert the image to a GREY8 grey-scale image.
312 Use LZW compression with horizontal differencing.
313 Some TIFF decoders may not support horizontal
314 differencing applied to images of depths less than eight.
317 Use Packbits compression.
323 Convert the image to an RGBV color-mapped image.
326 Convert the image to a GREY2 grey-scale image.
328 will then convert it to GREY4 before encoding
329 because TIFF does not support depths of two.
332 Convert the image to a GREY4 grey-scale image.
334 If there is only one input picture,
336 converts the image to GIF format.
339 though, it will assemble them into an animated GIF file.
340 The options control this process:
343 By default, the animation will loop forever;
345 specifies how many times to loop.
346 A value of zero means loop forever and a negative value means
347 to stop after playing the sequence once.
350 By default, the images are displayed as fast as they can be rendered.
351 This option specifies the time, in milliseconds, to pause while
352 displaying the next named
356 translates files that contain a `transparency' index by attaching
357 an alpha channel to the converted image.
360 displays or converts a Windows icon (.ico) file. If no file is
363 reads from standard input.
365 contain sets of icons represented by an image and a mask. The
369 to convert the first icon in the set and write it to standard
370 output in compressed Plan 9 image format. Otherwise, the whole
371 icon set is displayed.
372 Clicking the right button pops up a menu that lets you
373 write any icon's image as a Plan 9 image (\fIwidth\fBx\fIheight\fB.image\fR),
374 write any icon's mask as a Plan 9 image (\fIwidth\fBx\fIheight\fB.mask\fR),
375 or exit. Selecting one of the write menu items yields a sight cursor.
376 Move the sight over the icon and right click again to write.
379 takes a list of Plan 9 image files (or standard input) and creates
380 a single icon file. The masks in the icon file will be the white
381 space in the image. The icon file is written to standard output.
390 .B http://www.w3.org/Graphics/JPEG/jfif3.pdf
392 .B http://www.w3.org/Graphics/JPEG/itu-t81.pdf
394 .B http://en.wikibooks.org/wiki/JPEG_-_Idea_and_Practice
396 .B http://en.wikipedia.org/wiki/JPEG
398 .B http://www.w3.org/Graphics/GIF/spec-gif89a.txt
400 .B http://www.w3.org/TR/2003/REC-PNG-20031110
402 .B http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf
404 .B http://netpbm.sourceforge.net/doc/ppm.html
406 .B http://en.wikipedia.org/wiki/Windows_bitmap
408 .B http://en.wikipedia.org/wiki/Yuv
410 Writing an animated GIF using
412 is a clumsy undertaking.
415 first appeared in 9front (May, 2013).
419 first appeared in 9front (July, 2013).