enum Novika::Image::CompressionType

Overview

Lists all available payload compression types.

Defined in:

novika/image.cr

Enum Members

None = 0

No compression. May yield very large files.

GzipFast = 1

Use(s) fast but not best Gzip compression.

GzipBest = 2

Use(s) best but not fast Gzip compression.

BrotliFast = 3

Use(s) fast but not best Brotli compression. Generally slower than GzipFast, but almost certainly will yield better results.

BrotliBest = 4

Use(s) best but not fast Brotli compression. Generally slower than GzipBest, but almost certainly will yield better results.

Instance Method Summary

Instance Method Detail

def brotli_best? #

def brotli_fast? #

def gzip_best? #

def gzip_fast? #

def none? #