See also: read_image.
This menu entry provides a quick way to open an image file and access it in the current program. The associated dialog Read Image is displayed in figure 6.6.
The first matching image file is displayed as a thumbnail preview along with its width, height, color type and number of channels.
Alternatively, open a file selection dialog by selecting a predefined directory from the File Name combo box or clicking the browse button. The latter will start browsing in the current working directory, or in the last used directory. Depending on the operating system you may be able to switch to a thumbnail view in the file selection dialog.
After selecting a file name, click OK to load the image into HDevelop. The operator read_image is inserted at the specified insert position (IC or PC). The specified iconic variable is updated in the variable window and the image is displayed in the active graphics window. Clicking Cancel aborts the operation.
By default, an absolute path to the selected image is inserted. You can instruct HDevelop to use relative path names (see General Options ▹ General Options in the preferences).