[digiKam-users] Using pdf files for images

Gilles Caulier caulier.gilles at gmail.com
Thu May 14 07:49:45 BST 2020


In KDE Applications Okular is the optimized PDF viewer. I provide also
a plugin to QImage for PDF & co, but this one is only installed to
computer with Okular, not as stand alone plugin.

So if PDF preview and thumbnail must be supported through this QImage
plugin in digiKam, Okular must be installed too. In all case, under
Linux, Okular is the best way to show PDF file as it's more optimized
than DK.

Gilles

Le jeu. 14 mai 2020 à 08:32, Maik Qualmann <metzpinguin at gmail.com> a écrit :
>
> Another note about PDF and ImageMagick. PDF support in ImageMagick is disabled in most distributions by a security policy. ImageMagick has a configuration file for it. You shouldn't use ImageMagick with PDF.
>
> Maik
>
> Am Do., 14. Mai 2020 um 04:27 Uhr schrieb Gilles Caulier <caulier.gilles at gmail.com>:
>>
>> Hi,
>>
>> You can add PDF as type mime in DK setup, but the last time that i do
>> it, I see few time latency introduced to render thumbnail and preview.
>>
>> Typically, there is no specific implementation to render PDF in
>> digiKam. We delegate the job to 2 possible codec :
>>
>> 1/ ImageMagick
>> 2/ QImage
>>
>> Depending of the structure of PDF, ImageMagick will take a while and
>> provide a wrong preview. Here i used my large lesson class
>> documentations generated with LibreOffice, and the result was really
>> really bad.
>>
>> I don't yet tested with QImage codec.
>>
>> This is why PDF is not included in type -mime by default in digiKam.
>>
>> So we can tune a little bit in DK to the right codec to see which one
>> is the best. We need PDF samples from your collection to see the
>> result.
>>
>> We have 2 bugs about this topic in bugzilla. PDF is a long story, and
>> bug have been finally closed because no real and simple solution can
>> be found :
>>
>> https://bugs.kde.org/show_bug.cgi?id=145295
>> https://bugs.kde.org/show_bug.cgi?id=226023
>>
>> So feel free to comment and reopen rigth file in bugzilla to continue
>> this discussion.
>>
>> Best
>>
>> Gilles Caulier
>>
>> PS : excel and word as photo container will not work at all, i'm
>> sure... It's definitvely a bad idea.
>>
>> Le mer. 13 mai 2020 à 09:16, Infocidihca <infocidihca at gmail.com> a écrit :
>> >
>> > I am new to digikam and working with a documentation organization. We have a lot of images received in pdf format. I noticed that digikam do not precess pdf files. Can I add this mime type to the configuration without creating problem with digikam processes?. Can I also add mime type for excel and word files as we receive these files with photo embedded.
>> >
>> > Daniel Godefroy
>> >
>> > --
>> > La mission du CIDIHCA tourne autour de quatre axes principaux:
>> > 1. Centre de Documentation et d'Information  sur Haïti, la Caraïbe et les Afro-Canadiens
>> > 2. Animation scientifique et culturelle
>> > 3. Édition de livres
>> > 4. Productions audiovisuelles
>> >
>> > Visitez notre site www.cidihca.com et consultez notre base de données. Nous enregistrons gratuitement les professionnels et les artistes pour leur donner une visibilité sur internet.
>> >
>> > APPUYEZ NOTRE MISSION PAR UNE CONTRIBUTION


More information about the Digikam-users mailing list