LibrePhotos / librephotos

A self-hosted open source photo management service. This is the repository of the backend.
MIT License
7.01k stars 309 forks source link

RAW-Image support #65

Closed derneuere closed 3 years ago

derneuere commented 3 years ago

To support RAW-Images we have to convert them to jpegs via darktable-cli. This should allow us to support a wide array of raw image types.

SolAstri commented 3 years ago

Should we keep .jpegs right in the directory with raws? And how can we implement raw downloading?

derneuere commented 3 years ago

No, the program will take care of creating the .jpegs in the form of thumbnails. All the images you see in the program are conformed to .jpegs to allow for optimal file size and compatibility with browsers. I could add a file download button where you would get the actual file :)

SolAstri commented 3 years ago

So where will LibrePhotos instance save the thumbnails?)

derneuere commented 3 years ago

There are saved at /code/protected_media

derneuere commented 3 years ago

This works now!

jalada commented 3 years ago

Amazing! Thanks @derneuere, will be sure to give it a try.

Don't forget to update the README; it still says this is an upcoming feature.