broulik created this revision. broulik added reviewers: dfaure, aacid, jtamate. Herald added projects: Dolphin, Frameworks. Herald added subscribers: kfm-devel, kde-frameworks-devel. broulik requested review of this revision.
REVISION SUMMARY This adds a PDF thumbnailer using libpoppler. There is one in kdegraphics-thumbnailers but that one (as far as I could understand the old (fork+exec etc) and convoluted code) relies on an external `gs` binary to generate the thumbnails and is pretty slow. This one is just 40 lines of code and would get people PDF thumbnails out of the box. TEST PLAN Disabled gsthumbs from kdegraphics-thumbnailer, still got neat little PDF thumbnails EPS files can be generated using KImageFormats (cf D18882 <https://phabricator.kde.org/D18882>) so the only bits missing from kdegraphics-thumbnailers (which isn't installed by default on most distros) is DVI and ghostscript files (and RAW files). REPOSITORY R320 KIO Extras REVISION DETAIL https://phabricator.kde.org/D18883 AFFECTED FILES thumbnail/CMakeLists.txt thumbnail/pdfcreator.cpp thumbnail/pdfcreator.h thumbnail/pdfthumbnail.desktop To: broulik, dfaure, aacid, jtamate Cc: kde-frameworks-devel, kfm-devel, alexde, feverfew, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov