Reference

Table of Contents  ▸  List of Commands  ▸  Values Manipulation  ▸  compress_rle◀  compress_clut    |    cumulate  ▶

compress_rle

Arguments:

Description:

Compress selected images as 2xN data matrices, using RLE algorithm.

Set maximum_sequence_length=0 to disable maximum length constraint.

Default values:

is_binary_data=0 and maximum_sequence_length=0.

Example of use:

$ gmic image.jpg resize2dy 100 quantize 4 round +compress_rle , +decompress_rle[-1]

Command: image.jpg resize2dy 100 quantize 4 round +compress_rle , +decompress_rle[-1]
Command: image.jpg resize2dy 100 quantize 4 round +compress_rle , +decompress_rle[-1]
Command: image.jpg resize2dy 100 quantize 4 round +compress_rle , +decompress_rle[-1]