dot-compress_and_get_size: .compress_and_get_size

.compress_and_get_sizeR Documentation

.compress_and_get_size

Description

Compresses an image and returns the compressed file size.

Usage

.compress_and_get_size(img, flname, algorithm, use_existing_bmp)

Arguments

img

An array or matrix of numeric values or integer values.

flname

Character string (file name without extension).

algorithm

Character string (which compression algorithm to use).

use_existing_bmp

Logical (use existing bmp file).

Value

a numeric value (compressed file size)


imagefluency documentation built on Nov. 28, 2026, 1:06 a.m.