Your message dated Thu, 03 Dec 2020 20:45:12 +0000
with message-id <[email protected]>
and subject line Bug#968918: fixed in gscan2pdf 2.10.1-1
has caused the Debian Bug report #968918,
regarding Threshold function is extremely slow - Unusable - possible regression
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.)


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

Threshold function is extremely slow - Unusable - Possible regression

Applying threshold on a scanned image is extremely slow. Doing the same 
transformation using mogrify/convert is many times faster. This seems to be a 
regression during the last few months since this did not seem to be a problem 
before.

Example test to reproduce:
Scan one page, letter size, greyscale, 600pdi
Tools > Threshold > Selected > 50%
gscan2pdf process uses one cpu core at 100% for 2 minutes

The same processing using "mogrify -threshold 50% %i" takes 2 seconds.

Possibly gscan2pdf has a problem that is related to mogrify on the original 
format. If I remove the gscan2pdf option to automatically convert to png, 
restart gscan2pdf, scan and use "mogrify -threshold 50% %i", the processing 
time very long, just like gscan2pdf. Thus, it might be an issue with underlying 
mogrify libraries (if gscan2pdf uses them). ImageMagick issue #1819 seems might 
be related.
https://github.com/ImageMagick/ImageMagick/issues/1819

Temporary workaround:
Tools > Preferences > General Options > User Defined : "mogrify -threshold 50% 
%i"
Tools > User Defined > "mogrify -threshold 50% %i"

Version info:

apt search gscan2pdf
gscan2pdf/testing,now 2.8.2-1 all [installed]

uname -rv
5.7.0-2-amd64 #1 SMP Debian 5.7.10-1 (2020-07-26)

--- End Message ---
--- Begin Message ---
Source: gscan2pdf
Source-Version: 2.10.1-1
Done: Jeffrey Ratcliffe <[email protected]>

We believe that the bug you reported is fixed in the latest version of
gscan2pdf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeffrey Ratcliffe <[email protected]> (supplier of updated gscan2pdf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 03 Dec 2020 19:26:05 +0100
Source: gscan2pdf
Architecture: source
Version: 2.10.1-1
Distribution: unstable
Urgency: medium
Maintainer: Jeffrey Ratcliffe <[email protected]>
Changed-By: Jeffrey Ratcliffe <[email protected]>
Closes: 968918
Changes:
 gscan2pdf (2.10.1-1) unstable; urgency=medium
 .
   * New upstream release
     Closes: #968918 (Threshold function is extremely slow)
   * Added new build dependency libipc-system-simple-perl.
Checksums-Sha1:
 9ed363c2554b23190613e8704ea583d5f088c603 2912 gscan2pdf_2.10.1-1.dsc
 1ca3875d1a98553d039477885017e3cf28a8d11d 489336 gscan2pdf_2.10.1.orig.tar.xz
 1c6238a883cfb98ae26994b14fccb2a766dffc8f 833 gscan2pdf_2.10.1.orig.tar.xz.asc
 fd6b2d06a2bdfe74e6544462c308153710071287 11684 gscan2pdf_2.10.1-1.debian.tar.xz
 8edd81783164375f3472a6a0b81fb4a764567b7f 5920 
gscan2pdf_2.10.1-1_source.buildinfo
Checksums-Sha256:
 75b2e96f0d7227e80bd07d7058955422e8a25537ac912380616d420853ca898d 2912 
gscan2pdf_2.10.1-1.dsc
 d46233c7e926b5fe10d177656a651ac66989c928482339699f4b55425ce94ca8 489336 
gscan2pdf_2.10.1.orig.tar.xz
 480a0ab56d782b3cb84d489109513204dd1c6c182f4a9ce2ccd4cc06b9426123 833 
gscan2pdf_2.10.1.orig.tar.xz.asc
 ba93021cbac8732f5fb37334b0878e8455c0282c4576e711081335f23c33124d 11684 
gscan2pdf_2.10.1-1.debian.tar.xz
 4e12508e2471b254efdc13e82d8d9010e26b91e5d2dff0104a404442511a74f0 5920 
gscan2pdf_2.10.1-1_source.buildinfo
Files:
 6eca45c65496eed43a83804d3d3e0dc0 2912 utils optional gscan2pdf_2.10.1-1.dsc
 3c91656d91767c85a5383cdcad131f3d 489336 utils optional 
gscan2pdf_2.10.1.orig.tar.xz
 88774f032b8ed8d13506380cc56e77a9 833 utils optional 
gscan2pdf_2.10.1.orig.tar.xz.asc
 3d7343c0e0a377e7ab488027a975dc18 11684 utils optional 
gscan2pdf_2.10.1-1.debian.tar.xz
 22c6a4f0fab5232c06b7192652fe27e6 5920 utils optional 
gscan2pdf_2.10.1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEERjKT5K4zhxhG8wInsyHyAxEPyvMFAl/JRSQACgkQsyHyAxEP
yvND6g//f2C1unOrOmyTFGirANzZD0izZJ8YkhOtahW3uSDcpRtP70mVgIa+1IF8
g7Fkcrbbr7U8FpZeBxoLhzYCVikmT8vMNO8X3M/G/fcWM2F0ywB+yERnv29KhKnS
9sg69L0AgXmDXDkd0dSihdE6qW+roAGrRp9YQHzkc/aA1KMIthv6q+k2Nl5PG2YK
dP8qWGOBO1KvdFFVI/UDIJy6GF02AqTjr8P2MbqBX2pcC0t+yWDk+hmawNlnj5fi
Vw9JTuatUljx8A3VebJG+SuPlgLNlKRo7hvyyje1uKHBz39jguh9bjg0FFQ+t0eA
Ni7CaJlvsXmxSqZlp9l7emBicvbk+soFZMPDezKoZqlXZrtrauJvdoeb79E4Dg8Q
TO7mzXPcJRP3fO6VaXpWbR4aNXXAsVb455FsHGaBAGkqDzfClL/we21s801pk/HG
uFKKFQKzs3XF4BmUO6MaNzPzcepsgCmyjcbqemrRi7uk7h9Zim7kNmNEtHysNlWG
qapYsyI97gbgLi1hDeuG+lvMChNH4IP5+5adQWHEW0FrhWwYaIcnEtMBaWHoE9qs
u/6ouiFQ0LtFLeMZKRVn3Ug9cPJ6KS02wD+1QLMEUvCIvL+nzg5uiqz8PUPQgOMF
kjGKPsmvR9sj5Jin2iFGVrFtaGr+UbF9N08t9BjCr+ZhDbvqtBk=
=Etq1
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to