| .compress_and_get_size | R Documentation |
Compresses an image and returns the compressed file size.
.compress_and_get_size(img, flname, algorithm, use_existing_bmp)
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). |
a numeric value (compressed file size)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.