Examines a stream to determine which resolutions it contains.
- (nullable NSArray<NSValue/*CGSize*/ *> *)loadResolutionsForStream:(LTLeadStream *)stream error:(NSError **)error
public LeadSize readLoadResolutions(ILeadStream stream)
A Stream containing the data of the image file to query.
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).
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.
For an example, refer to ReadLoadResolutions.
Medical Web Viewer .NET