🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #2652

Re: djvu [Was: Re: Shrinking huge PDF files]

#2652
From: Rich
Date: Mon, 16 Nov 2026 18:59
22 lines
2144 bytes
Carlos E.R. <robin_listas@es.invalid> wrote:
> On 2026-11-16 09:56, Nuno Silva wrote:
>> (And if you end up converting the document to monochrome, it's probably
>> worth considering at least comparing with DjVu unless you need it to be
>> PDF.)
> 
> How do you handle conversion to djvu in Linux?  I have found few 
> people that use this format.

Provided you have DJVULibre installed, it is the cjb2 executable.

You do need to input monochrome pbm or tiff at the outset, cjb2 does 
not do any color conversions and will just abort with a non-monochrome 
input image.

Options are -dpi # to tell it the dpi of the scan.  -clean to clean up 
specks.  And either -lossy or -losslevel # (I usually use 50 here) to 
tell it how much lossiness is tolerable.

And, usually, djvu will be considerably smaller than G4 fax in a PDF.  
But it won't be a PDF and so most non-technical users simply won't be 
able to view it.
Technical Details
Message-ID: <11dfjq1$3qfni$2@dont-email.me>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <Qq7KS.9052$s53.4981@fx10.iad> <%FfKS.6730$5s3.683@usenetxs.com> <NhrKS.21511$li3.13390@fx46.iad> <11degfs$3d3uk$2@dont-email.me> <kn1rsmx5sd.ln2@Telcontar.valinor>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Rich <rich@example.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: djvu [Was: Re: Shrinking huge PDF files]
Date: Mon, 16 Nov 2026 18:59:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <11dfjq1$3qfni$2@dont-email.me>
References: <Qq7KS.9052$s53.4981@fx10.iad> <%FfKS.6730$5s3.683@usenetxs.com> <NhrKS.21511$li3.13390@fx46.iad> <11degfs$3d3uk$2@dont-email.me> <kn1rsmx5sd.ln2@Telcontar.valinor>
Injection-Date: Mon, 16 Nov 2026 18:59:14 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="4013810"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19HkjSP0mDtUNrdCwUExaMk"; posting-host="1816d630236a0742130b2a45529532ee"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.193 (x86_64))
Cancel-Lock: sha1:c4fz5Ks6VQSFl4oxefJe4zdrxns= sha256:E0B6svXaAnSx1lywLjvsvnawnRM6zlajj3zQn9HYmt4=
	sha1:ugUC6om8es2nELH8sIAigaLXis0= sha256:UfonmaC1/AVTF7xTfFoTCTxZndxOqtDlsE5v+uRIY8Y=