next up previous contents
Next: Pushing and Popping Images Up: The Tina Colour Tool Previous: The Tv List   Contents

Image Input and Output

Tina supports a single format, portable pixel map (PPM), for colour image input. This format is a member of the PNM family of image formats, which comprises PBM (1bpp monochrome images), PGM (grey-scale images) and PPM (colour images). Each stores image data in either ASCII or raw format. Therefore, the format is particularly simple in terms of writing input or output functions, but egregiously expensive in terms of disk space. Nevertheless, since the inception of the NETPBM package, most image conversion programmes will provide functionality enabling conversion to PNM from other formats (indeed this was one of the purposes of the NETPBM package), and so it should be relatively easy to convert images into this format for use in TINA.

In order to load a colour image into the Tina Colour Image tool, enter the path (either absolute or relative to the directory in which the tinaTool executable is located) into the directory field, and enter the file name into the filename field. Note that the file extension must be entered explicitly. Then press the "Input PPM" button to input the image. The image is split into its red, green and blue colour fields, which are displayed in the relevant Tv's.

The process can be reversed by pressing the "Output PPM" button. This will combine the red, green and blue fields currently loaded into memory into a ppm image, and output it to the directory and filename specified in the relevant fields. Ensure that you change the filename to something other than that of the original image you loaded, as the function will not warn you about overwriting.


next up previous contents
Next: Pushing and Popping Images Up: The Tina Colour Tool Previous: The Tv List   Contents
root 2017-11-23