unipdf/model/optimize/options.go

18 lines
496 B
Go
Raw Normal View History

2018-09-29 17:22:53 +03:00
/*
* This file is subject to the terms and conditions defined in
* file 'LICENSE.md', which is part of this source code package.
*/
package optimize
// Options describes PDF optimization parameters.
type Options struct {
CombineDuplicateStreams bool
CombineDuplicateDirectObjects bool
ImageUpperPPI float64
ImageQuality int
UseObjectStreams bool
CombineIdenticalIndirectObjects bool
CompressStreams bool
}