unipdf/model/optimize/options.go
2019-05-16 20:44:51 +00:00

18 lines
496 B
Go

/*
* 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
}