Can't edit Exif NEF files (Nikon)
I just want to change the camera model (for example: from NIKON Z 6_2 to NIKON Z 6)
It works with JPEG files
// Update the GPS EXIF data in a file
io := TImageEnIO.create(nil);
try
io.ParamsFromFile( Filename );
EXIF_Model:='NIKON Z 6';
io.InjectJpegEXIF( Filename );
finally
io.Free;
end;
I can read EXIF from NEF only like this (wherein all Nikon cameras):
IO.LoadFromFileTIFF( Filename );
But I still can't edit
The following functions return an empty value
IO.ParamsFromFile( Filename );
IO.LoadFromFileRAW( Filename );
What am I doing wrong? How do I edit EXIF from NEF?
Thanks