Update Krita's RAW file extensions
ClosedPublic

Authored by lsegovia on May 16 2018, 11:17 PM.

Details

Summary

Christoph Schäfer asked on kimageshop:

You were right, renaming RW2 to RAW enabled the import. As it seems you are using libraw, so Krita should list all supported formats -- probably a tiny update to the file handling code, and the same would be necessary for the palette formats.

plugins/impex/raw/3rdparty/libkdcraw/src/rawfiles.h holds libkdcraw's list of supported RAW file extensions, so I copy-pasted it into the relevant files.

Diff Detail

Repository
R37 Krita
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
lsegovia requested review of this revision.May 16 2018, 11:17 PM
lsegovia created this revision.
lsegovia updated this revision to Diff 34337.May 16 2018, 11:19 PM

Forgot to clean up the last extension, apologies.

rempt accepted this revision.May 17 2018, 7:15 AM
This revision is now accepted and ready to land.May 17 2018, 7:15 AM
This revision was automatically updated to reflect the committed changes.