Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #204058

Re: [OT] scanned files are large in size

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: [OT] scanned files are large in size
Date 2019-01-05 03:20 +0100
Message-ID <xcJJ7-81R-5@gated-at.bofh.it> (permalink)
References (2 earlier) <xbFHz-1wb-3@gated-at.bofh.it> <xbQ0h-7Tf-3@gated-at.bofh.it> <xc0VH-6fG-5@gated-at.bofh.it> <xc2kN-74w-5@gated-at.bofh.it> <xcBsf-32F-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 04 Jan 2019 at 17:26:07 (+0000), Brian wrote:
> On Wed 02 Jan 2019 at 22:56:22 -0500, kamaraju kusumanchi wrote:
> > On Wed, Jan 2, 2019 at 9:23 PM David Wright <deblis@lionunicorn.co.uk> wrote:
> > > On Wed 02 Jan 2019 at 14:44:14 (+0000), Brian wrote:
> > > >
> > > > I'm intrigued; I hadn't realised that conversion of the scanned image
> > > > for some vendors' devices took place on the device itself. How do you
> > > > know this happens? It is the frontend to SANE (xsane or scanimage, for
> > > > example) which I've always associated with image aquisition conversion.
> > >
> > > It really is rather easy. You insert a USB stick into the scanner,
> > > press scan, and later observe that a JPEG or PDF file has appeared
> > > on the stick, as appropriate.
> > 
> > Yes, that is precisely what I did. Stick a USB into the scanner and
> > press the scan button.
> 
> My HP Envy 4520 has no such button. There is an option for scanning to
> the computer, but software is required on the computer to do that and
> HPLIP does not provide it.
> 
> Anyway, I managed to persuade the device to give me the PDF it would
> have sent to a USB stick if the facility had existed (the device has
> Apple's AirScan). If it matters, the PDF does not have any Creator or
> Publisher information and doesn't contain any embedded or subset fonts.

It sounds as if this is sufficient to make you confident that the
device is doing the conversion and not the computer: anything that
decouples the two from privately passing information to one another
outside the delivered file. A USB stick, or email, is just the most
obvious.

> Scanned at a resolution of 600:
> 
> brian@desktop:~$ pdfimages -list out.pdf
> page   num  type   width height color comp bpc  enc interp  object ID x-ppi y-ppi size ratio
> --------------------------------------------------------------------------------------------
>    1     0 image    5100  6600  gray    1   8  jpeg   no         1  0   600   600 2090K 6.4%
> 
> ps2pdf reduces the 2090K by about 50% to 1051K.
> 
> A different scanner device and source document, of course, and maybe
> different methods of PDF production, so I wouldn't read too much into
> this.

Proving whether any compression applied is lossless is more difficult
because pdfimages seems mute on what processes were carried out in
extracting an image from the PDF. I have made the assumption that
scanning compressed means that lossy compression is applied whereas
scanning "uncompressed" means that lossless compression is applied.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[OT] scanned files are large in size kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2019-01-01 18:40 +0100
  Re: [OT] scanned files are large in size <tomas@tuxteam.de> - 2019-01-01 19:50 +0100
    Re: [OT] scanned files are large in size Anders Andersson <pipatron@gmail.com> - 2019-01-01 20:00 +0100
      Re: [OT] scanned files are large in size "Thomas Schmitt" <scdbackup@gmx.net> - 2019-01-01 20:30 +0100
      Re: [OT] scanned files are large in size <tomas@tuxteam.de> - 2019-01-01 20:40 +0100
    Re: [OT] scanned files are large in size kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2019-01-02 04:50 +0100
      Re: [OT] scanned files are large in size tomas@tuxteam.de - 2019-01-02 10:40 +0100
        Re: [OT] scanned files are large in size Joe <joe@jretrading.com> - 2019-01-02 11:10 +0100
          Re: [OT] scanned files are large in size <tomas@tuxteam.de> - 2019-01-02 11:30 +0100
            Re: [OT] scanned files are large in size deloptes <deloptes@gmail.com> - 2019-01-02 12:10 +0100
            Re: [OT] scanned files are large in size Chris Ramsden <chris.ramsden@gmail.com> - 2019-01-02 12:10 +0100
              Re: [OT] scanned files are large in size <tomas@tuxteam.de> - 2019-01-02 12:40 +0100
            Re: [OT] scanned files are large in size mick crane <mick.crane@gmail.com> - 2019-01-02 20:20 +0100
              Re: [OT] scanned files are large in size Brian <ad44@cityscape.co.uk> - 2019-01-02 20:30 +0100
              Re: [OT] scanned files are large in size David Wright <deblis@lionunicorn.co.uk> - 2019-01-03 03:50 +0100
                Re: [OT] scanned files are large in size Siard <shiems146@kpnplanet.nl> - 2019-01-03 14:10 +0100
                Re: [OT] scanned files are large in size Nicolas George <george@nsup.org> - 2019-01-03 14:20 +0100
                Re: [OT] scanned files are large in size deloptes <deloptes@gmail.com> - 2019-01-03 15:20 +0100
                Re: [OT] scanned files are large in size Siard <shiems146@kpnplanet.nl> - 2019-01-03 16:00 +0100
                Re: [OT] scanned files are large in size Nicolas George <george@nsup.org> - 2019-01-03 17:30 +0100
                Re: [OT] scanned files are large in size deloptes <deloptes@gmail.com> - 2019-01-03 17:30 +0100
                Re: [OT] scanned files are large in size David Wright <deblis@lionunicorn.co.uk> - 2019-01-03 21:30 +0100
      Re: [OT] scanned files are large in size Brian <ad44@cityscape.co.uk> - 2019-01-02 15:50 +0100
        Re: [OT] scanned files are large in size <tomas@tuxteam.de> - 2019-01-02 16:00 +0100
          Re: [OT] scanned files are large in size deloptes <deloptes@gmail.com> - 2019-01-02 16:20 +0100
            Re: [OT] scanned files are large in size <tomas@tuxteam.de> - 2019-01-02 16:30 +0100
              Re: [OT] scanned files are large in size deloptes <deloptes@gmail.com> - 2019-01-02 17:20 +0100
                Re: [OT] scanned files are large in size <tomas@tuxteam.de> - 2019-01-02 17:40 +0100
            Re: [OT] scanned files are large in size Brian <ad44@cityscape.co.uk> - 2019-01-02 20:10 +0100
          Re: [OT] scanned files are large in size Nicolas George <george@nsup.org> - 2019-01-02 16:20 +0100
            Re: [OT] scanned files are large in size tomas@tuxteam.de - 2019-01-02 16:20 +0100
          Re: [OT] scanned files are large in size Joe <joe@jretrading.com> - 2019-01-02 18:00 +0100
            Re: [OT] scanned files are large in size David Wright <deblis@lionunicorn.co.uk> - 2019-01-03 04:10 +0100
        Re: [OT] scanned files are large in size David Wright <deblis@lionunicorn.co.uk> - 2019-01-03 03:30 +0100
          Re: [OT] scanned files are large in size kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2019-01-03 05:00 +0100
            Re: [OT] scanned files are large in size Brian <ad44@cityscape.co.uk> - 2019-01-04 18:30 +0100
              Re: [OT] scanned files are large in size Gene Heskett <gheskett@shentel.net> - 2019-01-04 19:50 +0100
                Re: [OT] scanned files are large in size Brian <ad44@cityscape.co.uk> - 2019-01-04 20:50 +0100
              Re: [OT] scanned files are large in size deloptes <deloptes@gmail.com> - 2019-01-04 20:40 +0100
                Re: [OT] scanned files are large in size Brian <ad44@cityscape.co.uk> - 2019-01-04 21:00 +0100
              Re: [OT] scanned files are large in size David Wright <deblis@lionunicorn.co.uk> - 2019-01-05 03:20 +0100
  Re: [OT] scanned files are large in size Brian <ad44@cityscape.co.uk> - 2019-01-01 21:10 +0100
    Re: [OT] scanned files are large in size kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2019-01-02 05:00 +0100
      Re: [OT] scanned files are large in size Brian <ad44@cityscape.co.uk> - 2019-01-02 20:20 +0100
  Re: [OT] scanned files are large in size Jörg-Volker Peetz <jvpeetz@web.de> - 2019-01-02 12:40 +0100
    Re: [OT] scanned files are large in size kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2019-01-03 05:00 +0100
      Re: [OT] scanned files are large in size David Wright <deblis@lionunicorn.co.uk> - 2019-01-03 06:10 +0100
      Re: [OT] scanned files are large in size Jörg-Volker Peetz <jvpeetz@web.de> - 2019-01-03 09:40 +0100
  Re: [OT] scanned files are large in size Jonathan Dowland <jmtd@debian.org> - 2019-01-03 14:50 +0100
    Re: [OT] scanned files are large in size David Wright <deblis@lionunicorn.co.uk> - 2019-01-03 21:50 +0100
      Re: [OT] scanned files are large in size Jonathan Dowland <jmtd@debian.org> - 2019-01-04 11:00 +0100

csiph-web