[digikam] [Bug 458789] New: digikam gets slow trying to make thumbnails for 26k scanned color A4 pages (PNM format)

2022-09-06 Thread hps
https://bugs.kde.org/show_bug.cgi?id=458789

Bug ID: 458789
   Summary: digikam gets slow trying to make thumbnails for 26k
scanned color A4 pages (PNM format)
   Product: digikam
   Version: 7.7.0
  Platform: unspecified
OS: FreeBSD
Status: REPORTED
  Severity: wishlist
  Priority: NOR
 Component: Database-Albums
  Assignee: digikam-bugs-n...@kde.org
  Reporter: h...@selasky.org
  Target Milestone: ---

SUMMARY

Can the thumbnail process be made less CPU intensive? And also thumbnail only
what is in the current view?

STEPS TO REPRODUCE
1. Fill up a folder with 26k 300 DPI color A4 pnm pictures.
2. Add this folder to digikam

OBSERVED RESULT

3. Digikam becomes mostly unresponsive, trying to make thumbnails.

EXPECTED RESULT

"Digikam should not eat too much at a time." Maybe put a configurable sleep or
CPU cap on the thumbnailing process.

SOFTWARE/OS VERSIONS
ALL

KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5.x

ADDITIONAL INFORMATION

NONE

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 458789] digikam gets slow trying to make thumbnails for 26k scanned color A4 pages (PNM format)

2022-09-06 Thread hps
https://bugs.kde.org/show_bug.cgi?id=458789

--- Comment #2 from h...@selasky.org  ---
(In reply to caulier.gilles from comment #1)
> Can you share by cloud some samples of PNM images to try to reproduce
> 
> Gilles Caulier

Hi,

Any 27 megabyte .PNM will do:

27606699 bytes image.pnm

And then make thousands of them and add that folder to DigiKam. Yes, I know
it's a lot of disk space.

Then especially if that folder is on a 1GBit/s network share, things starting
to go slow as you can probably guess.

--HPS

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 458789] digikam gets slow trying to make thumbnails for 26k scanned color A4 pages (PNM format)

2022-09-06 Thread hps
https://bugs.kde.org/show_bug.cgi?id=458789

--- Comment #3 from h...@selasky.org  ---
(In reply to h...@selasky.org from comment #2)
> (In reply to caulier.gilles from comment #1)
> > Can you share by cloud some samples of PNM images to try to reproduce
> > 
> > Gilles Caulier
> 
> Hi,
> 
> Any 27 megabyte .PNM will do:
> 
> 27606699 bytes image.pnm
> 
> And then make thousands of them and add that folder to DigiKam. Yes, I know
> it's a lot of disk space.
> 
> Then especially if that folder is on a 1GBit/s network share, things
> starting to go slow as you can probably guess.
> 
> --HPS

image.pnm PPM 2598x3542 2598x3542+0+0 8-bit sRGB 26.3278MiB 0.094u 0:00.169

-- 
You are receiving this mail because:
You are watching all bug changes.