🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Shrinking huge PDF files

#2646
From: Charlie Gibbs
Date: Mon, 16 Nov 2026 17:02
29 lines
1893 bytes
On 2026-11-16, Nuno Silva <nunojsilva@invalid.invalid> wrote:

> Consider having a look at ImageMagick's convert with -lat, "local
> adaptive thresholding". Sadly, my notes don't go beyond saying it's
> better than just threshold... example command line:
>
>     convert in.pnm -lat 100x700-15% out.pbm
>
> <https://usage.imagemagick.org/transform/#lat>

That sounds interesting!  I'll give it a look.

> (unpaper might also be useful, depending on how the input documents
> are?:)
>
> <https://flameeyes.com/projects/unpaper>
>
> (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.)

I'm dealing with musicians here, not computer geeks.  Going to some
obscure new format would be just one more headache to deal with.

-- 
/~\  Charlie Gibbs                  |  In this world there are
\ /  <cgibbs@kltpzyxm.invalid>      |  two kinds of people:
 X   I'm really at ac.dekanfrus     |  1. Those who can extrapolate
/ \  if you read it the right way.  |  from incomplete data.
Technical Details
Message-ID: <vGGKS.129464$aI4.75531@fx15.iad>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx15.iad.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>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx15.iad.POSTED!not-for-mail
Newsgroups: comp.os.linux.misc
From: Charlie Gibbs <cgibbs@kltpzyxm.invalid>
Subject: Re: Shrinking huge PDF files
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>
User-Agent: slrn/1.0.3 (Linux)
Lines: 29
Message-ID: <vGGKS.129464$aI4.75531@fx15.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Mon, 16 Nov 2026 17:02:19 UTC
Date: Mon, 16 Nov 2026 17:02:19 GMT
X-Received-Bytes: 1646