Loading images in general
The most common image location is on your filesystem.
To load an image from your disk, all you have to do is call the function GdPictureImaging.CreateGdPictureImageFromFile(), as follows:
As you can see above, the file location was left empty, this will prompt to show an OpenFileDialog automatically in your application. If you have a specific image to load, just enter the image file location.
Finally, please do not forget to check whether the image creation was successful. We recommend to do this by checking the returned status using the GetStat() method. As a subsequent verification, you can check, whether the returned GdPictureImage identifier does not equal 0:
There are many other different locations or forms your image could exist, thus we have created many other CreateGdPictureImage functions, please do not hesitate to check them.
CreateClonedGdPictureImage
CreateClonedGdPictureImage24BppRGB
CreateClonedGdPictureImage32BppARGB
CreateClonedGdPictureImage32BppPARGB
CreateClonedGdPictureImageArea
CreateGdPictureImageFromBitmap
CreateGdPictureImageFromByteArray
CreateGdPictureImageFromClipboard
CreateGdPictureImageFromCMYKSep
CreateGdPictureImageFromDIB
CreateGdPictureImageFromFile
CreateGdPictureImageFromFTP
CreateGdPictureImageFromHBitmap
CreateGdPictureImageFromHICON
CreateGdPictureImageFromHTTP
CreateGdPictureImageFromHwnd
CreateGdPictureImageFromIStream
CreateGdPictureImageFromMemory
CreateGdPictureImageFromMetaFile
CreateGdPictureImageFromRawBits
CreateGdPictureImageFromStream
CreateGdPictureImageFromString
CreateNewGdPictureImage