Error processing SSI file
LEADTOOLS Image File Support (Leadtools.Codecs assembly)

Show in webframe

ReadLoadResolutions(Stream,Int32) Method








A Stream containing the data of the image file to query.
An Int32 that indicates the page number.
Examines a stream to determine which resolutions it contains.
Syntax
public LeadSize[] ReadLoadResolutions( 
   Stream stream,
   int pageNumber
)
'Declaration
 
Public Overloads Function ReadLoadResolutions( _
   ByVal stream As Stream, _
   ByVal pageNumber As Integer _
) As LeadSize()
'Usage
 
Dim instance As RasterCodecs
Dim stream As Stream
Dim pageNumber As Integer
Dim value() As LeadSize
 
value = instance.ReadLoadResolutions(stream, pageNumber)
public LeadSize[] ReadLoadResolutions( 
   Stream stream,
   int pageNumber
)
- (nullable NSArray<NSValue/*CGSize*/ *> *)loadResolutionsForStream:(LTLeadStream *)stream
                                                               pageNumber:(NSInteger)pageNumber 
                                                                    error:(NSError **)error
            
public LeadSize[] readLoadResolutions(ILeadStream stream, int page)
 function Leadtools.Codecs.RasterCodecs.ReadLoadResolutions(Stream,Int32)( 
   stream ,
   pageNumber 
)
public:
array<LeadSize>^ ReadLoadResolutions( 
   Stream^ stream,
   int pageNumber
) 

Parameters

stream
A Stream containing the data of the image file to query.
pageNumber
An Int32 that indicates the page number.

Return Value

A LeadSize structure containing the available resolutions.
Remarks

A FlashPix, PhotoCD, ECW, 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).

multi-page 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.

Example
For an example, refer to ReadLoadResolutions.
Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List

Error processing SSI file