Your message dated Sat, 11 Jul 2026 10:49:21 +0000
with message-id <[email protected]>
and subject line gscan2pdf
has caused the Debian Bug report #996664,
regarding Mangled PDF loading and failures when multi-image per page or 
non-image pdfs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
996664: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996664
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gscan2pdf
Version: 2.11.0-1

When opening pdf files with multiple images per page or no images, gscan2pdf 
loads the pages as multiple mangle fragments or gives an error that the file 
cannot be opened because it contains more than one image per page. This occurs 
with both a drag & drop to the left panel and also the open file from the menu.

This is generally understandable because as a scanning software, there should 
only be one image per page. However, pdf scans from other software do not 
always follow this, nor do most other pdf files.

Although I really prefer using gscan2pdf, I am often stuck using other software 
to make them compatible with gscan2pdf.
Okular > Print to File > Force rasterization
GIMP > import > export as pdf

Since both of these alternatives are open source, hopefully this functionality 
could be eventually included in gscan2pdf.

To reproduce:
1) Download a pdf file from Wikipedia 
https://en.wikipedia.org/api/rest_v1/page/pdf/Main_Page
2) Open with (or drag & drop to) gscan2pdf
3) File opens as a bunch of mangled fragments. The it gives this error: Open 
File Error "Warning: gscan2pdf expects one image per page, but this was not 
satisfied. It is probable that the PDF has not been correctly imported. If you 
wish to add scans to an existing PDF, use the prepend/append to PDF options in 
the Save dialogue."
4) Open the file pdf file with GIMP, export as pdf, check "Layers as pages...", 
uncheck "Convert bitmaps to vector...".
5) Open new file with gscan2pdf, works perfectly
6) Open the original file pdf file with Okular, print to file, Force 
rasterization
7) Open new file with gscan2pdf, works perfectly

Version info:
apt search gscan2pdf
gscan2pdf/stable,now 2.11.0-1 all [installed]

apt search gimp
gimp/stable,now 2.10.22-4 amd64 [installed]

apt search okular
okular/stable,now 4:20.12.3-2 amd64 [installed]

uname -vr
5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30)

--- End Message ---
--- Begin Message ---
gscan2pdf is now only a transition package.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to