CompressImageOptions: {
    compressionRate?: number;
    maxHeight?: number;
    maxWidth?: number;
    uri: string;
}

Type declaration

  • Optional compressionRate?: number

    A value in range 0.0 - 1.0 specifying compression level of the result image. 1 means highest quality and 0 the lowest quality.

  • Optional maxHeight?: number

    A resize height, apply only to downscale

  • Optional maxWidth?: number

    A resize width, apply only to downscale

  • uri: string

    A uri of image file to compress

Generated using TypeDoc