Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize issue: Failed creating multi encoder: invalid filter in multi filter array #46

Closed
gunnsth opened this issue Jan 25, 2019 · 1 comment
Labels
bug Something isn't working compress Compression / Optimization

Comments

@gunnsth
Copy link
Contributor

gunnsth commented Jan 25, 2019

Problem file: TheCaseStudyMethod.pdf

Options:

unioptimize.Options{
    CombineDuplicateDirectObjects:   true,
    CombineIdenticalIndirectObjects: true,
    ImageUpperPPI: 100.0,
    CombineDuplicateStreams:         true,
    CompressStreams:                 true,
    UseObjectStreams:                true,
    ImageQuality:                    80,
}

When optimizing get:

[ERROR]  encoding.go:1855 Unsupported filter CCITTFaxDecode
[ERROR]  stream.go:42 Failed creating multi encoder: invalid filter in multi filter array

Seems like the CCITTFaxDecode filter is not ignored during compression when inside a multi filter encoder.

@gunnsth gunnsth transferred this issue from unidoc/unidoc May 24, 2019
@gunnsth gunnsth added bug Something isn't working compress Compression / Optimization labels Jun 2, 2020
@anovik
Copy link

anovik commented Nov 20, 2024

This has been implemented, we have CCITTFaxDecode decoding and encoding support in UniPDF.

@anovik anovik closed this as completed Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compress Compression / Optimization
Projects
None yet
Development

No branches or pull requests

2 participants