virtual L_INT LFile::ReadStamp(pLoadFileOption=NULL)
Reads a thumbnail image stored in a file and loads it into a specified bitmap.
Pointer to optional extended load options. Pass NULL to use the default load options.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Only EXIF, CMP, JFIF and FlashPix formats support stamps. However, not all files of these formats contain stamps.
NOTE: At this time, there are no multipage formats that support stamps.
LFile LeadFile ;
LBitmapBase LeadBitmap ;
L_INT nRet = 0 ;
//Reads a thumbnail image stored in a FlashPix file and loads it into a specified bitmap.
nRet = LeadFile.ReadStamp();
if (nRet == SUCCESS)
//Puts a stamp, in an existing FlashPix file "IMAGE1.FPX"
nRet = LeadFile.WriteStamp(NULL);
MessageBox(NULL,TEXT("File has no thumbnail image"),TEXT("Stamp"),MB_OK);
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries