Colibrio Reader Framework API - Cloud license
    Preparing search index...
    interface IMediaShrinkReflowPluginOptions {
        activationThreshold?: number;
        maxShrinkFactor?: number;
        penaltyAtMaxShrinkage?: number;
    }

    Properties

    activationThreshold?: number

    A value between 0 and 1. Images with height larger than this factor * pageHeight will shrink.

    For example an if we have a pageHeight of 400px and activationThreshold = 0.5, all images with a height of 200px or more will shrink.

    0.15
    
    maxShrinkFactor?: number

    A value between 0 and 1. This number dictates how much the image can shrink if its height exceeds the activation threshold. A value of 1 will shrink the image down to the threshold height.

    For example, if we have a pageHeight of 400px and activationThreshold = 0.5, Images with a height over 200px will shrink. Setting maxShrinkFactor to 0.5 will shrink an image with a height of 280px to 240px

    0.7
    
    penaltyAtMaxShrinkage?: number

    The penalty for shrinking the image down to the maxShrinkFactor. The real value is interpolated between this value and 0.

    10