Page 1 of 1

NEF files corrupt when converted

Posted: Tue Sep 03, 2024 8:06 am
by nikonz6iii
I have some RAW (.NEF) files from a Nikon Z6iii which I'm trying to convert to TIFF.

When converted the TIFF files seem corrupt:
Screenshot 2024-09-03 090328.png
I've uploaded one of the NEF files in case you needed to test: https://file.io/Rm4dpVEAHwcS

Thanks

Re: NEF files corrupt when converted

Posted: Tue Sep 03, 2024 11:39 pm
by mak_kawa
I am not sure what's wrong with you, but... I have converted your NEF file to TIFF by XnConvert with default settings. It seems to have no problem.
Untitled-1.jpg

Re: NEF files corrupt when converted

Posted: Wed Sep 04, 2024 11:25 am
by nikonz6iii
That's very weird .. it doesn't do it for me, I just get the rainbow output. Just tried with another file from the camera.
I get the same corrupt-looking file if I try and convert to another format such as jpg.

If I try and convert raw files from my Sony camera, it works just fine.

Does it use some kind of raw library which might need updating on my system?

I'm testing with the latest zipped version of xnconvert:
XnConvert Version 1.100.1 - windows x64 (Feb 25 2024) - Libformat version 7.172

Re: NEF files corrupt when converted

Posted: Wed Sep 04, 2024 11:39 am
by nikonz6iii
I'm not sure libraw supports Nikon HE/HE* RAW format (which is what these are saved as). This might explain why it doesn't work for me, but not why it does work for someone else ...

Re: NEF files corrupt when converted

Posted: Wed Sep 04, 2024 11:44 am
by mak_kawa
My XnConvert is 1.100.1 and Libformat ver. 7.172 too.
Is your setting on TIFF conversion default?
Untitled-1.png
Untitled-1.png (5.5 KiB) Viewed 5160 times

Re: NEF files corrupt when converted

Posted: Wed Sep 04, 2024 11:51 am
by nikonz6iii
Yes, set to default. But the same happens even if I convert to JPG.

I think the issue is with reading the file, not converting it.

Re: NEF files corrupt when converted

Posted: Wed Sep 04, 2024 12:12 pm
by mak_kawa
Okay, so I have nothing to suggest further... but one thing, do you set "Use multiple CPU cores" option to off?

Re: NEF files corrupt when converted

Posted: Wed Sep 04, 2024 12:14 pm
by nikonz6iii
Yes I left that setting turned off (the default)

Re: NEF files corrupt when converted

Posted: Wed Sep 04, 2024 2:21 pm
by xnview
the link is not available

Re: NEF files corrupt when converted

Posted: Wed Sep 04, 2024 2:25 pm
by nikonz6iii
Sorry - here's another:

https://we.tl/t-ZmIXJ3s7al

Re: NEF files corrupt when converted

Posted: Thu Sep 05, 2024 1:30 pm
by xnview
i confirm, if you don't use embedded preview, the raw decoding has problem

Re: NEF files corrupt when converted

Posted: Thu Sep 05, 2024 1:31 pm
by nikonz6iii
Thanks for confirming.
I guess I need to wait for libraw to add support for Nikon HE/HE* RAW, or shoot in 'standard RAW'