siImageRatio

Description

Specifies a reduction to apply to an image. For example a 800x400 image reduced by a 4x1 ratio will have a resolution of 200x100.

C# Syntax

siImageRatio.siImageRatio1x1                                                // 0
siImageRatio.siImageRatio2x1                                                // 1
siImageRatio.siImageRatio4x1                                                // 2
siImageRatio.siImageRatio8x1                                                // 3
siImageRatio.siImageRatio16x1                                               // 4
siImageRatio.siImageRatioThumbnail                                          // 5

Constant Value Description
siImageRatio1x1 0 Full resolution issue.
siImageRatio2x1 1 Image reduced to 1/2 resolution (e.g. 1/4 the memory consumption).
siImageRatio4x1 2 Image reduced to 1/4 resolution.
siImageRatio8x1 3 Image reduced to 1/8 resolution.
siImageRatio16x1 4 Image reduced to 1/16 resolution.
siImageRatioThumbnail 5 Image reduced to Thumbnail resolution.

Applies To

ImageClip.GetScaledDownImage ImageClip2::GetScaledDownImage