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

Is there a way I could import .cr3 files from Canon-R? #212

Open
adamhawkey opened this issue Nov 22, 2021 · 2 comments
Open

Is there a way I could import .cr3 files from Canon-R? #212

adamhawkey opened this issue Nov 22, 2021 · 2 comments

Comments

@adamhawkey
Copy link

Is there a way I could import .cr3 files from Canon-R?
I am looking to merge hundreds of thousands of bracketed exposures for a stop motion project.
I am looking for a command line option and this may very well be it. Is it a matter of updating to more recent libraw, or more involved?
Thank you,
Adam Hawkey

@Entropy512
Copy link

Building against newer libraw SHOULD work in theory.

@giovariot
Copy link

The problem is that src/LoadOptionsDialog.cpp is missing many raw files extensions of formats actually supported by libraw

Here is the current list of supported file extensions from the load dialog.
(src/src/LoadOptionsDialog.cpp from line 116)

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"
    ")"));

Adding support for more extensions allows support for additional formats. I added a few different formats but I think more could be added.

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

I'd add a merge request but I'm not a developer and I don't know how to do that '-_-

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

3 participants