jcelaya / hdrmerge

HDR exposure merging
http://jcelaya.github.io/hdrmerge/
Other
371 stars 78 forks source link

cr3 support? #225

Open DimanNe opened 11 months ago

DimanNe commented 11 months ago

It looks like it cannot open cr3 raw files (?) Or I am doing something wrong?

giovariot commented 8 months ago

There are multiple raw files extensions supported by libraw that aren't included in the loading form (line 116 src/LoadOptionsDialog.cpp)

void LoadOptionsDialog::addFiles() {
    QSettings settings;
    QVariant lastDirSetting = settings.value("lastOpenDirectory");
    QString filter(tr("Raw images ("
    "*.3fr "
    "*.ari *.arw "
    "*.bay "
    "*.crw *.cr2 *.cap "
    "*.dcs *.dcr *.dng *.drf "
    "*.eip *.erf "
    "*.fff "
    "*.iiq "
    "*.k25 *.kdc "
    "*.mdc *.mef *.mos *.mrw "
    "*.nef *.nrw "
    "*.obm *.orf "
    "*.pef *.ptx *.pxn "
    "*.r3d *.raf *.raw *.rwl *.rw2 *.rwz "
    "*.sr2 *.srf *.srw "
    "*.x3f"
    ")"));

I think many extensions should be added. A few years ago I added the qtk extension to this list to add support to an Apple Quicktake and it did work perfectly after recompiling. I'm not a programmer and I don't know how to propose a commit but I think a fast way to solve the issue would just be to add the missing extensions to this list