Examines a stream to determine which resolutions it contains.
public LeadSize[] ReadLoadResolutions(
Stream stream,
int pageNumber
)
Public Overloads Function ReadLoadResolutions( _
ByVal stream As Stream, _
ByVal pageNumber As Integer _
) As LeadSize()
- (nullable NSArray<NSValue/*CGSize*/ *> *)loadResolutionsForStream:(LTLeadStream *)stream
pageNumber:(NSInteger)pageNumber
error:(NSError **)error
public LeadSize[] readLoadResolutions(ILeadStream stream, int page)
public:
array<LeadSize>^ ReadLoadResolutions(
Stream^ stream,
int pageNumber
)
stream
A Stream containing the data of the image file to query.
pageNumber
An Int32 that indicates the page number.
A LeadSize structure containing the available resolutions.
A FlashPix, PhotoCD, JPEG 2000 or JBIG/JBIG2 file can contain more than one copy of the same image, each at a different physical resolution (width and height in pixels).
multipage files (like TIF) containing compressions listed above (eg: JPEG 2000 or JBIG/JBIG2) can also contain more than one copy of the same image, each at a different physical resolution (width and height in pixels).
After you get the available resolutions, you can use any of the following to specify the one to be loaded:
The pages numbers start with 1, so set pageNumber to 2 to read the resolutions from the second page. If you set pageNumber to 1, the function behaves like the equivalent function without the pageNumber parameter.
After you get the available resolutions, you can use any of the following to specify the one to be loaded:
For more information, refer to Implementing JBIG Features.
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