Reads a thumbnail image stored in the image file.
public RasterImage ReadStamp(
string fileName,
int pageNumber,
CodecsImageInfo info
)
- (nullable LTRasterImage *)readStampFromFile:(NSString *)fileName
pageNumber:(NSInteger)pageNumber
error:(NSError **)error
public:
RasterImage^ ReadStamp(
String^ fileName,
int pageNumber
)
def ReadStamp(self,fileName,pageNumber,info):
fileName
A String containing the name of the file which contains the stamp image to load.
pageNumber
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, HEIF/HEIC, and PNG formats support stamps. However, not all files of these formats contain stamps.
Both ReadStamp(String,Int32) and ReadStamp(String,Int32,CodecsImageInfo) read a thumbnail image from a string and load it into the specified image. The difference is that ReadStamp(String,Int32,CodecsImageInfo) takes a CodecsImageInfo object in order to improve performance.
To create a thumbnail image from any file, use ReadThumbnail.
Note
At this time, there are no multipage formats that support stamps.
Implementing Extended FlashPix Support
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document