<< Click to Display Table of Contents >> Navigation: Image Manager > CVB Technology > Image file handling |
The available methods and functions for loading and saving image files are distinguished by user interaction.
The most straight way is to pass the file name as function argument and process the file directly.
Second, other functions ask for the file name from the user in a file selection dialog and process the file then.
Methods and functions for loading images
Image Control- LoadImage method
Image Control- LoadImageByDialog method
Image Control- LoadImageByUserDialog method
Image Library- LoadImageFile function
Methods and functions for saving images
Image Control- SaveImage method
Image Control- SaveImageByDialog method
Image Control- SaveImageByUserDialog method
Image Control - SaveLossyImage method
Display Control- SaveImage method
Display Control- SaveImageByDialog method
Image Library- WriteImageFile function
Image Library - WriteLossyImageFile function
Loading or saving
The supported file formats are provided in the methods and functions for image file handling.
CVB will find out the format type automatically in file names by the file name extension given.
This is even possible in file selection dialogs with no corresponding file filters.
How to load an image via the dialog is shown here:
Choose Image Files and you will get a list of all files in supported file formats like TIF, JPG, PCX, MIO.
Then choose the desired file. That's it.
To save an image in a supported file format, enter the desired file name and the appropriate extension.
The file will be stored automatically in this file format.
Related Topics
Image Control - Introduction