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

Please explain subsampling and justify the defaults #11

Open
jwilk opened this issue Mar 15, 2016 · 1 comment
Open

Please explain subsampling and justify the defaults #11

jwilk opened this issue Mar 15, 2016 · 1 comment
Labels

Comments

@jwilk
Copy link
Owner

jwilk commented Mar 15, 2016

Issue reported by @jsbien:

Why the default foreground subsampling is larger than the default background one?

@jwilk jwilk added the task label Nov 13, 2016
@jwilk
Copy link
Owner Author

jwilk commented Nov 13, 2016

The default settings (--fg-subsample=6, --bg-subsample=3) were chosen so that I can use djvumake to compose DjVu by default.
djvumake uses these subsample ratios, and they are not configurable.
Intuitively, lower quality for the foreground layer makes sense, because in the typical case it's solid color (most often black).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant