the output PDF is abnormal

Bug #1964279 reported by lfmei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sane-backends (Ubuntu)
New
Undecided
Unassigned

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)

Revision history for this message
lfmei (lfmei) wrote :
Revision history for this message
David Ward (dpward) wrote :

Please add the --verbose flag to scanimage, and attach the output.

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

Revision history for this message
lfmei (lfmei) wrote :

>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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.