>Please add the --verbose flag to scanimage, and attach the output.
The outputs is as below

scanimage --mode color --format=pdf --batch-count=1 --verbose
Scanning 1 page, incrementing by 1, numbering from 1
Scanning page 1
scanimage: scanning image of size 424x774 pixels at 24 bits/pixel
scanimage: acquiring RGB frame
scanimage: min/max graylevel value = 33/255
scanimage: read 984528 bytes in total
Scanned page 1. (scanner status = 5)
Batch terminated, 1 page scanned

>Is this issue only with PDF? If you use --format=jpeg instead, are you
able to open the image?

If I use --format=jpeg instead, I am able to open the image.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to sane-backends in Ubuntu.
https://bugs.launchpad.net/bugs/1964279

Title:
  the output PDF is abnormal

Status in sane-backends package in Ubuntu:
  New

Bug description:
  When batch-count is set to 1, the output PDF cannot be opened with the
  PDF tool.

  The command line is as follows
  scanimage --mode color --format=pdf --batch-count=1

  When mode is set to gray or lineart, the output PDF is abnormal. (there were 
three images in one sheet of PDF)
  The command line is as follows
  scanimage --mode gray --format=pdf --batch
  scanimage --mode lineart --format=pdf --batch

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: sane-utils 1.1.1-3
  ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
  Uname: Linux 5.15.0-18-generic x86_64
  ApportVersion: 2.20.11-0ubuntu78
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Mar  9 17:43:59 2022
  InstallationDate: Installed on 2022-03-03 (5 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220228)
  SourcePackage: sane-backends
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1964279/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to