Reads a thumbnail image stored in an image stream.
- (nullable LTRasterImage *)readStampFromStream:(LTLeadStream *)stream
Public Function ReadStamp(
ByVal _stream_ As Stream,
ByVal _pageNumber_ As Integer,
ByVal _info_ As CodecsImageInfo
) As RasterImage
A Stream containing the image data which contains the stamp image to load.
1-based index of the page from which the stamp image should be loaded.
info A CodecsImageInfo object containing information about the image.
The RasterImage object that this method loads.
Only EXIF, CMP, JPEG, FlashPix and HEIF/HEIC formats support stamps. However, not all files of these formats contain stamps.
Both ReadStamp(Stream,Int32) and ReadStamp(Stream,Int32,CodecsImageInfo) read a thumbnail image from a stream and load it into the specified image. The difference is that ReadStamp(Stream,Int32,CodecsImageInfo) takes a CodecsImageInfo object in order to improve performance.
To create a thumbnail image from any file, use ReadThumbnail.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries