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🇪🇺;