enum Hpdf::CompressionMode

Overview

set via Doc#compression_mode=.

Defined in:

hpdf/enum.cr

Enum Members

None = 0

All contents are not compressed.

Text = 1

Compress the contents stream of the page.

Image = 2

Compress the streams of the image objects.

Metadata = 4

Other stream datas (fonts, cmaps and so on) are compressed.

AllStreams = 7

All stream datas are compressed

BestCompress = 16
BestSpeed = 32

Instance Method Summary

Instance Method Detail

def all_streams? #

[View source]
def best_compress? #

[View source]
def best_speed? #

[View source]
def image? #

[View source]
def metadata? #

[View source]
def none? #

[View source]
def text? #

[View source]