Article View: comp.os.linux.misc
Article #2655Re: Shrinking huge PDF files
From: Charlie Gibbs
Date: Mon, 16 Nov 2026 19:20
Date: Mon, 16 Nov 2026 19:20
27 lines
2065 bytes
2065 bytes
On 2026-11-16, Rich <rich@example.invalid> wrote: > Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote: > >> I'm dealing with musicians here, not computer geeks. Going to some >> obscure new format would be just one more headache to deal with. > > Then don't bother with anything other than PDF. That one they will be > able to open and view. Anything else, yes, a headache for you. Indeed. Thanks for the help. Unfortunately, my tests have suddenly stopped working - pgmtopbm has seemingly started ignoring my threshold setting. Stripping down the commands to work on a single-page PDF: $ gs -dNOPAUSE -q -r300 -sDEVICE=pgmraw -dBATCH -sOutputFile=testfile3.pgm testfile.pdf $ pgmtopbm -threshold -value 0.82 testfile3.pgm >testfile3.pnm $ pnmtotiff -g4 <testfile3.pnm >testfile3.tif Is there something wrong with my pgmtopbm command? If I remove the "-threshold -value 0.82" parameters the output (testfile3.pnm) is exactly the same. -- /~\ 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:
<oIIKS.56667$033.46236@fx03.iad>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx03.iad.POSTED!not-for-mailReferences:
<Qq7KS.9052$s53.4981@fx10.iad> <%FfKS.6730$5s3.683@usenetxs.com> <NhrKS.21511$li3.13390@fx46.iad> <11degfs$3d3uk$2@dont-email.me> <vGGKS.129464$aI4.75531@fx15.iad> <11dfjun$3qfni$4@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx03.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> <vGGKS.129464$aI4.75531@fx15.iad> <11dfjun$3qfni$4@dont-email.me> User-Agent: slrn/1.0.3 (Linux) Lines: 27 Message-ID: <oIIKS.56667$033.46236@fx03.iad> X-Complaints-To: https://www.astraweb.com/aup NNTP-Posting-Date: Mon, 16 Nov 2026 19:20:52 UTC Date: Mon, 16 Nov 2026 19:20:52 GMT X-Received-Bytes: 1834