Article View: comp.os.linux.misc
Article #2602Re: Shrinking huge PDF files
From: Carlos E.R.
Date: Sun, 15 Nov 2026 12:29
Date: Sun, 15 Nov 2026 12:29
34 lines
2437 bytes
2437 bytes
On 2026-11-15 11:40, Nuno Silva wrote: > On 2026-11-15, Carlos E.R. wrote: > >> On 2026-11-15 01:56, Charlie Gibbs wrote: >>> [Here's an on-charter post for a change...] >>> >>> I was given some scans of sheet music from an iPad vict^H^H^H^Huser who >>> couldn't find the settings (if it has any) for its scanning function. >>> As a result, she wound up with a 9-page PDF file that takes up over >>> 30 megabytes. (When I scan a similar document on my machine the file >>> is about one megabyte.) A bit of digging came up with utilities that >>> tell me that her scan is in 24-bit colour at some ungodly resolution >>> (using JPEG to keep it from being even bigger). >>> >>> I've been looking at utilities like Ghostscript, but the documentation >>> is making my eyes glaze over. Is there a guide that can help me >>> re-sample the file, say to 300 dpi in monochrome? >> >> Convert to some bitmap image format, file per page (png, for instance) >> resample using gimp, or magick > > For this I stress my recommendation of poppler's pdfimages. If I'm not > mistaken, it will extract the image streams, not convert them. If all it > has is one image per page, that's probably the best to avoid loss at > this stage. Ok, yes. Although I used convert loosely, what I wanted to do is extract the original image inside. -- Cheers, Carlos. ESπͺπΈ, EUπͺπΊ;
Technical Details
Message-ID:
<56losmx4b3.ln2@Telcontar.valinor>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsgate.tebibyte.org!.POSTED.48.red-79-150-116.dynamicip.rima-tde.net!Telcontar.valinor!not-for-mailReferences:
<Qq7KS.9052$s53.4981@fx10.iad> <hndnsmxk4m.ln2@Telcontar.valinor> <11dc276$2lrfq$3@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsgate.tebibyte.org!.POSTED.48.red-79-150-116.dynamicip.rima-tde.net!Telcontar.valinor!not-for-mail From: "Carlos E.R." <robin_listas@es.invalid> Newsgroups: comp.os.linux.misc Subject: Re: Shrinking huge PDF files Date: Sun, 15 Nov 2026 13:29:25 +0100 Organization: Tebibyte_Retro_Gaming Message-ID: <56losmx4b3.ln2@Telcontar.valinor> References: <Qq7KS.9052$s53.4981@fx10.iad> <hndnsmxk4m.ln2@Telcontar.valinor> <11dc276$2lrfq$3@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: mailgate.tebibyte.org; posting-host="48.red-79-150-116.dynamicip.rima-tde.net:79.150.116.48"; logging-data="11816"; mail-complaints-to="abuse@tebibyte.org" User-Agent: Mozilla Thunderbird Content-Language: es-ES, en-CA In-Reply-To: <11dc276$2lrfq$3@dont-email.me> X-Leafnode-NNTP-Posting-Host: 127.0.0.1