Closed tannerhelland closed 11 years ago
I know, camera manufacturers have to make our lives difficult instead of using one RAW format. I compiled this list of the most common formats:
cr2, crw = Canon nef = Nikon orf = Olympus pef = Pentax raf = Fuji srf = Sony x3f = Sigma dcr, kdc = Kodak mrw = Minolta
It would probably be best to just list one (.RAW) entry like Photoshop does and then subsume all the other extensions like you said.
Thanks, audioglider. Here is the full list of extensions I've added (based off the FreeImage documentation). It should be comprehensive, with the exception of Sigma's x3f format which is not included in FreeImage due to licensing concerns:
3fr arw bay bmq cap cine cr2 crw cs1 dc2 dcr dng drf dsc erf fff ia iiq k25 kc2 kdc mdc mef mos mrw nef nrw orf pef ptx pxn qtk raf raw rdc rw2 rwz sr2 srf sti
PhotoDemon already loads RAW files via FreeImage. But they do not appear unless "All Files" is selected.
Not sure how to best fix this. There are (literally) hundreds of potential file extensions for RAW filetypes. Each camera manufacturer has one or more unique extensions.
My current thought is to provide unique entries for the most common RAW types (e.g. DNG), then subsume all others under a single RAW entry. Also all extensions need to be added to "All compatible images". Need to investigate if there is an upper limit for how many extensions can appear under a single common dialog entry, because there are already a huge amount of file extensions present and RAW will more than double the count.