|QMedical Command Reference Images|
||imageRef||Longint||Reference to the image|
||imagePict||Picture||4D picture variable|
Reads an image into a 4D picture variable. If the image has multiple frames the command applies to the currently selected frame.
The image is specified by imageRef. If imageRef is not a valid image, error qmed_paramErr is returned.
Warning! Graphics files can be very big depending on image dimensions, resolution and pixel depth. If you read image files into 4D pictures you should make sure there's enough memory available to your application. Running low on memory may lead to crashes and data loss.