LycheeOrg / Lychee

A great looking and easy-to-use photo-management-system you can run on your server, to manage and share photos.
https://lycheeorg.github.io/
MIT License
3.3k stars 296 forks source link

[Enhancement] pdf support #854

Open mtron opened 3 years ago

mtron commented 3 years ago

I (mis?) use lychee for storing scans of some of my documents and invoices. So it would be great to have pdf support in lychee with generated thumbnails :)

Thanks for this very nice software!

ildyria commented 3 years ago

pdf is somewhat integrated, you just need to add it to the raw extensions in the advanced settings. What is not integrated is the thumbnail generation.

ildyria commented 3 years ago

raw_formats in the advanced settings contain the list of raw format you would like to allow to import. They have to be separated with |, for example .pdf|.tex|.cr3

ildyria commented 3 years ago

https://github.com/spatie/pdf-to-image interesting.

kamil4 commented 3 years ago

Doesn't ImageMagick support PDF?

evoludolab commented 3 years ago

This is an interesting suggestion. Just some further thoughts:

The last two items require some more digging... currently I failed to convince Lychee to upload any pdf.