Creates a new GdPicture Image and initializes it with the contents of another GdPicture Image to minimize memory usage.
If the image to clone is a multibitmap image, this function will clone only the selected bitmap and will create a single frame image.
This function creates a new GdPicture image and initializes it with the contents of the source image until a modification is applied to the cloned image.
Consequently the pixel data of the cloned image can be released from the memory if the image source is released!
If you expect to have 2 independent bitmap stored in the memory you have to use the CreateClonedGdPictureImageI function.
Do not use this function if you intend to release the source image from the memory before the cloned image.
Creates a new GdPicture Image and initializes it with a copy of the contents of another GdPicture Image.
The newly created image will be independent of the image source.
Users browsing this forum: No registered users and 2 guests