Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.dng support? #34

Open
SomalianCoolhacker opened this issue Jan 12, 2023 · 1 comment
Open

.dng support? #34

SomalianCoolhacker opened this issue Jan 12, 2023 · 1 comment

Comments

@SomalianCoolhacker
Copy link

Hi, first of all – this project is a life-saver, thank you so much.
I've noticed that .dng media files are left untouched, though. Sure, I can convert them to JPGs, for example, and rename *.dng.json files to *.jpg.json to sync it, but if there's an easy fix for that, please add support for Digital Negative format.

Thanks once again, and have a great day ✌️

@Frooastside
Copy link

Frooastside commented Oct 30, 2024

i think you can just edit src/config.ts

and change

import { Config } from './models/config-models';

export const CONFIG: Config = {
  supportedMediaFileTypes: [
    { extension: '.jpeg', supportsExif: true },
    { extension: '.jpg',  supportsExif: true },
    { extension: '.heic', supportsExif: true },
+   { extension: '.dng',  supportsExif: true },
    { extension: '.gif',  supportsExif: false },
    { extension: '.mp4',  supportsExif: false },
    { extension: '.png',  supportsExif: false },
    { extension: '.avi',  supportsExif: false },
    { extension: '.mov',  supportsExif: false },
  ],
};

for my google takeout all the dng files already had the right metadata so i could not test if it actually puts the right metadata in there but it atleast copies all the files

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants