0.9m06 Pt 3 - 10x Smaller than cpaldjvu - any2djvu #23
Replies: 10 comments 9 replies
-
I actually quite impressed with cpaldjvu results. I thought it works in a more simple way.
So, we can compare two bumdled colored image generation chains:
Advantages of minidjvu-mod chain: lossy compression of a text layer Advantages of cpaldjvu+jb2unify chain: no manual work to set color zones, multicolor letters The jb2unify project is here: https://github.com/velwant/jb2unify The jb2unify is an add-on for DjVulibre project and could be built on Linux with:
I'll build and attach a windows binary later. Don't know if there is already built windows binary in network. It shall be 15 years old... I've tried to apply jb2unify to The experimental files are attached. There are pbm with multicolored letter, The result of it's encoding with cpaldjvu. And the jb2unify compressed version of 100_TITLES_COLOR_CPALDJVU_nodict_600dpi__416_KB.djvu |
Beta Was this translation helpful? Give feedback.
-
Attached is DjVuLibre with patched |
Beta Was this translation helpful? Give feedback.
-
Hi Alex, |
Beta Was this translation helpful? Give feedback.
-
Hi Alex,
Yes, I remember you saying that the commercial and free versions both had the same 500x500 limits.
Thanks.
…________________________________
From: Alexander Trufanov ***@***.***>
Sent: December 26, 2021 11:47 AM
To: trufanov-nok/minidjvu-mod ***@***.***>
Cc: maple7-7-7 ***@***.***>; Author ***@***.***>
Subject: Re: [trufanov-nok/minidjvu-mod] 0.9m06 Pt 3 - 10x Smaller than cpaldjvu - any2djvu (Discussion #23)
Hi, I don't think that would have sense. I would expect more fragments and more encoding overheads if this size is decreased. If we consider its increasing then I'm not sure if 500x500 is a technical specification limit or just an optimal max value. But as both commercial encoder and DjVuLibre's cjb2 uses the same I guess it's well tested (not only on tables but over a lot of different types of pages with different dpi) and would not change it.
—
Reply to this email directly, view it on GitHub<#23 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOBEQDVNN3ZDVGTUJOTIBYLUS36DXANCNFSM5GSGYFOA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi. Alex. I hope you are OK. I would like to resume our interaction but I need a little help with my old Linux Lubuntu 18.10 32-bit, which won't even open a 32-bit deb file, the lazy man's way of installing a package. The new Lubuntu version is 64-bit, which my lapotop cannot accommodate. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Basically I don't seem to have permissions to do anything whatsoever. Not even updating things. Like a global blockade! Sorry. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Sorry for all this trouble, Alex. I can always use my Win7 laptop or Win10 desktop. But here is a screenshot for the Lubuntu 32-bit laptop. Most people don't use Linux in the non-Android sense, as you know. So I think it is still good to know how your Linux version of minidjvu-mod is doing.
…________________________________
From: Alexander Trufanov ***@***.***>
Sent: July 22, 2022 2:58 PM
To: trufanov-nok/minidjvu-mod ***@***.***>
Cc: maple7-7-7 ***@***.***>; Author ***@***.***>
Subject: Re: [trufanov-nok/minidjvu-mod] 0.9m06 Pt 3 - 10x Smaller than cpaldjvu - any2djvu (Discussion #23)
Well, it won't be easy in this case. What dpkg -l "libjemalloc*" outputs?
—
Reply to this email directly, view it on GitHub<#23 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOBEQDQ4CVP5CM4XZVTF36DVVKZKFANCNFSM5GSGYFOA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Sorry again. The screenshot is in the direct email only. I can't get github to show it even in a preview. Here it is again in the direct email. Maybe we should skip. Hate to waste your time.
…________________________________
From: Alexander Trufanov ***@***.***>
Sent: July 22, 2022 3:21 PM
To: trufanov-nok/minidjvu-mod ***@***.***>
Cc: maple7-7-7 ***@***.***>; Author ***@***.***>
Subject: Re: [trufanov-nok/minidjvu-mod] 0.9m06 Pt 3 - 10x Smaller than cpaldjvu - any2djvu (Discussion #23)
There is no any screenshots attached...
—
Reply to this email directly, view it on GitHub<#23 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOBEQDTZOLHNWTHIKX4S3KDVVK375ANCNFSM5GSGYFOA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Here is a pasted text version: |
Beta Was this translation helpful? Give feedback.
-
Hi again, Alex. |
Beta Was this translation helpful? Give feedback.
-
Some new findings.
Take a Title Page with 2 dominant colors that makes such a page a candidate for the DjVuLibre program cpaldjvu. Create 100 such pages called "Section 1 . . . Section 100" as Black and White and also as Color. For minidjvu-mod and any2djvu, pages are colorized with FGbz chunks using djvumake.
Compare the results of 3 approaches to making DjVus:
(for color pages, a BG of 63 bytes as a common denominator)
Results: Extraordinary 10:1 Compression offered by minidjvu-mod.
100 Title Pages: Color: 416 KB cpaldjvu no dict available (see PNG - on the left)
100 Title Pages: Colorized 38 KB minidjvu-mod 100pg dict (see PNG - on the right)
4.8:1 - 7.4:1 Compression compared with Any2DjVu (Color)
100 Title Pages: Colorized 283 KB any2djvu 20pg dicts
100 Title Pages: Colorized 59 KB minidjvu-mod 20pg dicts
100 Title Pages: Colorized 38 KB minidjvu-mod 100pg dict
10:1 Compression compared with Any2DjVu (Black and White)
100 Title Pages: BW 273 KB any2djvu 20pg dicts
100 Title Pages: BW 27 KB minidjvu-mod 100pg dict
100_TITLES_CPALDJVU--ANY2DJVU--MINIDJVU-MOD_0.9m06.zip
Beta Was this translation helpful? Give feedback.
All reactions