←Select platform

ReadStamp(Stream,int,CodecsImageInfo) Method

Summary

Reads a thumbnail image stored in an image stream.

Syntax

C#
VB
Java
Objective-C
C++
public RasterImage ReadStamp( 
   Stream stream, 
   int pageNumber, 
   CodecsImageInfo info 
) 

- (nullable LTRasterImage *)readStampFromStream:(LTLeadStream *)stream  
                                     pageNumber:(NSInteger)pageNumber  
                                          error:(NSError **)error 

public RasterImage readStamp(ILeadStream stream, int pageNumber) 

public: 
RasterImage^ ReadStamp(  
   Stream^ stream, 
   int pageNumber 
)  

Public Function ReadStamp( 
   ByVal stream As Stream, 
   ByVal pageNumber As Integer, 
   ByVal info As CodecsImageInfo 
) As RasterImage 

Parameters

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.

info A CodecsImageInfo object containing information about the image.

Return Value

The RasterImage object that this method loads.

Remarks

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.

Requirements

Target Platforms

Help Version 20.0.2018.6.21
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly