Raw Filetype?

Does anyone know what filetype details need to be entered, for .NEF (Raw image files)?

Thank you all in advance.

Get an eye there:


for the file type, did you try
Display Name: image/nef
Object Name: NEF
MacType: “” // Empty
MacCreator “” // Empty
Extensions: .NEF
UTI: “” // Empty
Icon: None


I will try those settings the next time I use Xojo.



I do not have a NEF file, so I changed a [quote].png[/quote] file extension to .nef, then I run the code below (The OpenDialog part comes from LR, OpenDialog)

Of course, once you select the file, it is up to you to decode the image file.

[code] Dim FT_NEF As New FileType

FT_NEF.Name = “image/nef”
FT_NEF.Extensions = “.NEF” // or “.nef”

// From OpenDialog LR:
Dim dlg As OpenDialog
Dim f As FolderItem
dlg = New OpenDialog
#If Not TargetLinux Then
dlg.InitialDirectory = SpecialFolder.Documents
#Else //open Home directory on linux
dlg.InitialDirectory = SpecialFolder.Home

dlg.Title = “Select a NEF file”
dlg.Filter = FT_NEF
f = dlg.ShowModal
If f <> Nil Then
//proceed normally
//User Cancelled
End If[/code]