Bug 423659 - Wishlist: Disable thumbnail database generation
Summary: Wishlist: Disable thumbnail database generation
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Thumbs (other bugs)
Version First Reported In: 7.0.0
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-29 15:02 UTC by fellowbiological
Modified: 2024-06-18 15:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fellowbiological 2020-06-29 15:02:22 UTC
SUMMARY
The ability to disable thumbnail generation would be useful for some specific use cases of digiKam. It could also help save disc space and speed up the maintenance of a large image collection.

I use digiKam for reverse searching images in my collection of pixel art and almost all of these images are low resolution, have low color counts and load quickly due to their small file size and resolution. The thumbnail generator doesn't respect these low color counts when creating thumbnails, so in the majority of cases the thumbnails actually increase in file size and the thumbnail database becomes larger than the original files. I also have over 100k images in my collection, so generating thumbnails takes a really long time.

I don't really use digiKam for browsing my collection, I only use the reverse image search feature to find duplicates, so I don't really have a need for generating thumbnails.

ADDITIONAL INFORMATION
I actually managed to find a hacky workaround to disable them by denying write permission on thumbnails.digikam.db and the C:\Users\USERNAME\AppData\Local\cache\thumbnails folder (which gets used instead on Windows when thumbnails.digikam.db can't be written to, I don't know what folder is used for other operating systems). Now you'll get an error message when starting digiKam but the program still loads and instead of using the thumbnails database it just seems to load the files directly inside digiKam. Unlike when using a thumbnail database, it's slower, but in my use case it doesn't really matter, since the files are already small to begin with and load quickly.

While this hacky method works, it would be nice to have an officially supported way of doing this.
Comment 1 S. Burmeister 2024-06-18 15:28:01 UTC
I would have a different use case. If one wants to protect some albums/pictures and encrypts them, their thumbnails are still accessible. Thus it would be useful to be able to disable the thumbnail creation on a per folder/album basis.