Reads a thumbnail image stored in an image stream.
public RasterImage ReadStamp(
Stream stream,
int pageNumber,
CodecsImageInfo info
)
Public Overloads Function ReadStamp( _
ByVal stream As Stream, _
ByVal pageNumber As Integer _
) As Leadtools.RasterImage
public Leadtools.RasterImage ReadStamp(
Stream stream,
int pageNumber
)
- (nullable LTRasterImage *)readStampFromStream:(LTLeadStream *)stream
pageNumber:(NSInteger)pageNumber
error:(NSError **)error
public RasterImage readStamp(ILeadStream stream, int pageNumber)
function Leadtools.Codecs.RasterCodecs.ReadStamp(Stream,Int32)(
stream ,
pageNumber
)
public:
Leadtools.RasterImage^ ReadStamp(
Stream^ stream,
int pageNumber
)
stream
A Stream containing the image data which contains the stamp image to load.
pageNumber
1-based index of the page from which the stamp image should be loaded.
codecsimageinfo A CodecsImageInfo object containing information about the image.
The RasterImage object that this method loads.
Only EXIF, CMP, JFIF and FlashPix 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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET