Freeimage.h
FreeImage_Clone
Hace una reproducción exacta de un mapa de bits existente, incluyendo metadatos y perfir adjunto si lo hay.
// this code assumes there is a bitmap loaded and
// present in a variable called ‘dib’
FIBITMAP *clone = FreeImage_Clone(dib);
if (clone) {
// clone succeeded!
FreeImage_Unload(clone);
}
DLL_API FIBITMAP * DLL_CALLCONV FreeImage_Clone(FIBITMAP *dib);
Parámetros
dib: Puntero a mapa de bits.
Valor de retorno
Devuelve un mapa de bits.