public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Wols Lists <antlists@youngman.org.uk>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] [OT] Saving an image as black and white
Date: Mon, 1 Mar 2021 11:50:35 +0000	[thread overview]
Message-ID: <603CD50B.9080303@youngman.org.uk> (raw)

I've got a bunch of scans, let's assume they're text documents. And
they're rather big ... I want to email them.

How on earth do I convert them to TRUE b&w documents? At the moment they
are jpegs that weigh in at 3MB, and I guess they're using about 5 bytes
to store all the colour, luminance, whatever, per pixel. But actually,
there's only ONE BIT of information there - whether that pixel is black
or white.

I'm using imagemagick, but so far all my attempts to strip out the
surplus information have resulted in INcreasing the file size ???

So basically, how do I save an image as "one bit per pixel" like you'd
think you'd send to a B&W printer?

Even at 300dpi, I make that 300*300/8 ~= 10KB/in^2 or 800KB of
uncompressed info for a page of A4, not 3MB.

Cheers,
Wol


             reply	other threads:[~2021-03-01 11:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-01 11:50 Wols Lists [this message]
2021-03-01 12:01 ` [gentoo-user] [OT] Saving an image as black and white Hund
2021-03-01 12:11 ` [gentoo-user] " Nuno Silva
2021-03-01 13:17   ` Wols Lists
2021-03-01 12:48     ` Nuno Silva
2021-03-01 13:24     ` William Kenworthy
2021-03-01 13:48 ` [gentoo-user] " Neil Bothwick
2021-03-01 14:22   ` Rich Freeman
2021-03-01 15:54   ` Wols Lists
2021-03-01 18:00     ` Rich Freeman
2021-03-04 20:03     ` Frank Steinmetzger

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=603CD50B.9080303@youngman.org.uk \
    --to=antlists@youngman.org.uk \
    --cc=gentoo-user@lists.gentoo.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