damonlynch / rapid-photo-downloader

Rapid Photo Downloader is the leading photo and video downloader for the Linux desktop.
https://damonlynch.net/rapid
GNU General Public License v3.0
117 stars 31 forks source link

Option to generate JPEG from HEIC/HEIF photos as they are downloaded #57

Open damonlynch opened 2 years ago

damonlynch commented 2 years ago

Cameras that capture HDR photos and save them in HEIF/HEIC format do not create an associated JPEG. Rapid Photo Downloader could create the JPEG and save it alongside the HEIF/HEIC and the download directory, with the same base name.

thomas-mc-work commented 2 years ago

Maybe this could be implemented by an option to let RPD execute a predefined executable for each completed file. This could be a script which receives the target file path as an environment variable (also the folder path, file extension etc.). In the script could happen anything you like, e.g. conversion to other formats like JPEG. This you could flexibly add features without adding too much complexity to the code base.

damonlynch commented 2 years ago

Implementing a plug-in system is much, much more complicated than automatically converting a file from one format to another.

thomas-mc-work commented 2 years ago

That's why my suggestion with a simple script invocation instead of the plug-in system.