Hi,
Is it possible to generate HTML gallery without using thumbnail generation but using existing thumbnail of digikam database or dedicated directory containing already generated thumbnails? Thanks _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
libkipi provide api to take thumbnails from kipi host application.
Typically, with digiKam, plugin get thumbnails from digiKam DB. It's done for most of plugins for kipi-plugins, as DNG converter for ex. For HTMLExport, i don't know, as i don't maintain this tool. Gilles Caulier 2012/2/5 cyril raphanel <[hidden email]>: > Hi, > > Is it possible to generate HTML gallery without using thumbnail > generation but using existing thumbnail of digikam database or dedicated > directory containing already generated thumbnails? > > Thanks > > > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
On Sun, February 5, 2012 11:12 pm, Gilles Caulier wrote: > libkipi provide api to take thumbnails from kipi host application. > Typically, with digiKam, plugin get thumbnails from digiKam DB. where is, exactly, the documentation one should read to write a shell script that generates a thumbnail gallery straight out the DIGIKAM sqlite database? (either through libkipi, or directly?) I'd really like to know more about this and try Thanks, Marco _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Look in libkipi Interface class :
https://projects.kde.org/projects/kde/kdegraphics/libs/libkipi/repository/revisions/master/entry/libkipi/interface.h#L212 ... there is 2 method to ask to KIPI host application thumbnails of items. Just pass url as argument and the size of thumbnails that you need. digiKam re-implement these method and will play with thumbs DB. It very fast. If thumb are not yet in DB, it will be generated by digiKam thumb processor. Best Gilles Caulier 2012/2/6 M. Fioretti <[hidden email]>: > > On Sun, February 5, 2012 11:12 pm, Gilles Caulier wrote: >> libkipi provide api to take thumbnails from kipi host application. >> Typically, with digiKam, plugin get thumbnails from digiKam DB. > > > where is, exactly, the documentation one should read to write a shell > script that generates a thumbnail gallery straight out the DIGIKAM sqlite > database? (either through libkipi, or directly?) I'd really like to know > more about this and try > > Thanks, > Marco > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Interesting as the interface from the plugin always ask for thumbnail size I am assuming it always generate it. It is rather slow! _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Free forum by Nabble | Edit this page |