Computer Old Farts Forum
 help / color / mirror / Atom feed
From: Ralph Corderoy <ralph@inputplus.co.uk>
To: coff@tuhs.org
Subject: [COFF] Re: converting lousy scans of pdfs into something more useable
Date: Sat, 04 Feb 2023 07:59:16 +0000	[thread overview]
Message-ID: <20230204075916.C9C8621C9A@orac.inputplus.co.uk> (raw)
In-Reply-To: <bafc6b83-d14b-1a68-5480-23ad75ef22f4@gmail.com>

> https://decuser.github.io/pdfs/2023/02/01/pdf-cleanup-workflow.html

units(1) can do the sum for you.

    $ units -1 475point in
	    * 6.5972222

Be aware there are several kinds of ‘point’; search
/usr/share/units/definitions.units for /^point to get to the relevant
area.

It will also do your simple ‘echo ... | bc -l’ sums.

    $ units 2560/96
            Definition: 26.666667

GraphicsMagick, gm(1), may be more consistent and future-proof than
ImageMagick.

> I'd really like to get away from needing Photoscape X, though.
> Then I could entirely automate the workflow in bash...

gmic(1) is a very powerful and little known image-processing program.
It may help dump PhotoScape X.

-- 
Cheers, Ralph.

  parent reply	other threads:[~2023-02-04  7:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-03 15:27 [COFF] " Will Senn
2023-02-03 16:00 ` [COFF] " Dennis Boone
2023-02-03 16:01 ` Bakul Shah
2023-02-03 16:25   ` Will Senn
2023-02-04  7:59 ` Ralph Corderoy [this message]
     [not found] <167544017712.2485736.11108085155717490044@minnie.tuhs.org>
2023-02-03 16:21 ` [COFF] Re: converting lousy scans of pdfs into something more, useable Will Senn
2023-02-03 17:09 [COFF] Re: converting lousy scans of pdfs into something more useable Bakul Shah

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230204075916.C9C8621C9A@orac.inputplus.co.uk \
    --to=ralph@inputplus.co.uk \
    --cc=coff@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).