15.1 Saving Image
You can save images using IMAQ Write File as seen in Figure 15.1, which is found from the function palette in Vision and Motion»Vision Utilities»Files.
As seen in Figure 15.2, various kinds of image formats such as BMP, JPEG, PNG, and TIFF can be selected to save image file using the IMAQ Write File function.
The available types of images are summarized in Table 15.1.
Table 15.1 Image type.
|BMP (BitMaP image)||JPEG (Joint Photographic Coding Experts Group)||PNG (Portable Network Graphics)||TIFF (Tagged Image File Format)|
|Image from camera is bitmap image, which has the image values on each pixel location. The bitmap image is not compressed||JPEG is one of the image compressing methods. The color image can be effectively compressed by using JPEG. Here, the quality and the size of the image can be adjusted||PNG has been widely used in the Web to realize bitmap image||The data information of image was saved in the form of Tag in front of the image. From this, image type can be recognized|