3 jpg, gif, png, tif, ppm, bmp, v210, yuv, ico, tga, tojpg, togeordi, togif, toppm, topng, totif, toico \- view and convert pictures
155 These programs read, display, and write image files in public formats.
166 read files in the corresponding formats and, by default, display
167 them in the current window; options cause them instead to convert the images
168 to Plan 9 image format and write them to standard output.
175 read Plan 9 images files, convert them to JPEG, GIF, PPM,
176 PNG, or TIFF and write them to standard output.
178 The default behavior of
191 or standard input if no file is named.
192 Once a file is displayed, typing a character causes the program to display the next image.
195 DEL, or control-D exits the program.
196 For a more user-friendly interface, use
198 which invokes these programs to convert the images to standard format,
199 displays them, and offers scrolling, panning, and menu-driven navigation among the files.
201 These programs share many options:
204 Disable Floyd-Steinberg error diffusion, which is used to improve the appearance
205 of images on color-mapped displays, typically with 8 bits per pixel.
206 Primarily useful for debugging; if the display has true RGB color, the image
207 will be displayed in full glory.
210 Convert and display the image as a black and white (really grey-scale) image.
213 Convert the image to an RGBV color-mapped image, even if the
214 display has true RGB color.
217 Suppress display of the image; this is set automatically by
218 any of the following options:
221 Convert the image to a Plan 9 representation, as defined by
223 and write it to standard output.
228 but produce an uncompressed image.
229 This saves processing time, particularly when the output is
230 being piped to another program such as
232 since it avoids compression and decompression.
235 Convert the image, if it is in color, to a true color RGB image.
240 but force the image to RGB even if it is originally grey-scale.
244 has two extra options used to process the output of the LML
248 Merge two adjacent images, which represent the two fields of a video picture,
252 The input is a motion JPEG file, with multiple images representing frames of the movie. Sets
262 programs go the other way: they convert from Plan 9 images to JPEG, GIF,
263 PPM, PNG, and TIFF and have no display capability.
264 They all accept an option
266 to set the comment field of the resulting file.
272 The default is to output plain PPM.
277 output grey-scale images,
280 option makes it output scratched JPEG images.
288 accepts many options.
289 Choosing Huffman, T4, or T6 compression
290 forces the image to GREY1.
293 Convert the image to a true color RGB image.
296 Convert the image to a GREY1 black and white image.
299 Use T4 one-dimensional compression.
302 Use T4 two-dimensional compression.
305 Use Huffman compression.
308 Convert the image to a GREY8 grey-scale image.
314 Use LZW compression with horizontal differencing.
315 Some TIFF decoders may not support horizontal
316 differencing applied to images of depths less than eight.
319 Use Packbits compression.
325 Convert the image to an RGBV color-mapped image.
328 Convert the image to a GREY2 grey-scale image.
330 will then convert it to GREY4 before encoding
331 because TIFF does not support depths of two.
334 Convert the image to a GREY4 grey-scale image.
336 If there is only one input picture,
338 converts the image to GIF format.
341 though, it will assemble them into an animated GIF file.
342 The options control this process:
345 By default, the animation will loop forever;
347 specifies how many times to loop.
348 A value of zero means loop forever and a negative value means
349 to stop after playing the sequence once.
352 By default, the images are displayed as fast as they can be rendered.
353 This option specifies the time, in milliseconds, to pause while
354 displaying the next named
358 Specifying this option instead of a list of files will read the frames from a pipe on fd 0.
359 Each frame is terminated with EOF.
360 End of the animation is specified by an extra EOF.
363 translates files that contain a `transparency' index by attaching
364 an alpha channel to the converted image.
367 displays or converts a Windows icon (.ico) file. If no file is
370 reads from standard input.
372 contain sets of icons represented by an image and a mask. The
376 to convert the first icon in the set and write it to standard
377 output in compressed Plan 9 image format. Otherwise, the whole
378 icon set is displayed.
379 Clicking the right button pops up a menu that lets you
380 write any icon's image as a Plan 9 image (\fIwidth\fBx\fIheight\fB.image\fR),
381 write any icon's mask as a Plan 9 image (\fIwidth\fBx\fIheight\fB.mask\fR),
382 or exit. Selecting one of the write menu items yields a sight cursor.
383 Move the sight over the icon and right click again to write.
386 takes a list of Plan 9 image files (or standard input) and creates
387 a single icon file. The masks in the icon file will be the white
388 space in the image. The icon file is written to standard output.
397 .B http://www.w3.org/Graphics/JPEG/jfif3.pdf
399 .B http://www.w3.org/Graphics/JPEG/itu-t81.pdf
401 .B http://en.wikibooks.org/wiki/JPEG_-_Idea_and_Practice
403 .B http://en.wikipedia.org/wiki/JPEG
405 .B http://www.w3.org/Graphics/GIF/spec-gif89a.txt
407 .B http://www.w3.org/TR/2003/REC-PNG-20031110
409 .B http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf
411 .B http://netpbm.sourceforge.net/doc/ppm.html
413 .B http://en.wikipedia.org/wiki/Windows_bitmap
415 .B http://en.wikipedia.org/wiki/Yuv
417 Writing an animated GIF using
419 is a clumsy undertaking.
422 first appeared in 9front (May, 2013).
426 first appeared in 9front (July, 2013).