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

--bg-subsample 12 blows up previously invisible spots to become annoying. #19

Open
rmast opened this issue Oct 27, 2021 · 1 comment
Open

Comments

@rmast
Copy link

rmast commented Oct 27, 2021

When I try to lower the footprint of the irrelevant background picture with --bg-subsample 12 the previously invisible spots are blown up in a way they become annoying.

Reproduction steps just the same as in #16, except for the --bg-subsample 12 option:

When I encode the included Scantailored image with this statement in the standard didjvu (master from jwilk) with Python2.7 and
http://nl.archive.ubuntu.com/ubuntu/pool/universe/g/gamera/python-gamera_3.4.2+git20160808.1725654-2_amd64.deb in Mint 20.2

./didjvu encode ~/scantailorin/out/outputbase2-000-raar-effect-onderste-regel-didjvu\ zonder\ tekst.tif -o jaarverslagraar.djvu --bg-subsample 12
outputbase2-000-raar-effect-onderste-regel-didjvu zonder tekst.zip

Result

jaarverslagvlekken.zip
image

@rmast
Copy link
Author

rmast commented Jan 5, 2022

As this issue shows the background picture is quite clear at the default of --bg-subsample 3, via c44, I've replayed the scenario's for --bg-subsample 1..12. It appears all values except 3, 4 and 5 leave annoying spots on different places:
--bg-subsample 1:

bg-subsample1
--bg-subsample 2:
bg-subsample2
--bg-subsample 3:
bg-subsample3
--bg-subsample 4:
bg-subsample4
--bg-subsample 5:
bg-subsample5
--bg-subsample 6:
bg-subsample6
--bg-subsample 7:
bg-subsample7
--bg-subsample 8:
bg-subsample8
--bg-subsample 9:
bg-subsample9
--bg-subsample 10:
bg-subsample10
--bg-subsample 11:
bg-subsample11
--bg-subsample 12:
bg-subsample12

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

No branches or pull requests

1 participant