RongCloud React Native IM Wrapper - v5.12.1
    Preparing search index...

    Interface RCIMIWCompressOptions

    interface RCIMIWCompressOptions {
        originalImageQuality?: number;
        originalImageSize?: number;
        originalImageMaxSize?: number;
        thumbnailQuality?: number;
        thumbnailMaxSize?: number;
        thumbnailMinSize?: number;
        sightCompressWidth?: number;
        sightCompressHeight?: number;
        locationThumbnailQuality?: number;
        locationThumbnailWidth?: number;
        locationThumbnailHeight?: number;
    }
    Index

    Properties

    originalImageQuality?: number

    Original image compression ratio

    originalImageSize?: number

    Max width of the longest side of the original image

    originalImageMaxSize?: number

    Original image size limit: Send the original image if its size is within the limit

    thumbnailQuality?: number

    Thumbnail compression ratio

    thumbnailMaxSize?: number

    Compressed width and height of the thumbnail

    thumbnailMinSize?: number

    Minimum width and height for thumbnail compression

    sightCompressWidth?: number

    Compressed video width, use multiples of 16

    sightCompressHeight?: number

    Compressed height for short videos. Use multiples of 16

    locationThumbnailQuality?: number

    Location message thumbnail compression ratio

    locationThumbnailWidth?: number

    Width of location message compression

    locationThumbnailHeight?: number

    Height of compressed location message