NEF files corrupt when converted

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: XnTriq, helmut, xnview

nikonz6iii
Posts: 7
Joined: Tue Sep 03, 2024 8:01 am

NEF files corrupt when converted

Post 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
You do not have the required permissions to view the files attached to this post.
mak_kawa
Posts: 12
Joined: Mon Dec 25, 2023 3:11 am

Re: NEF files corrupt when converted

Post 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
You do not have the required permissions to view the files attached to this post.
nikonz6iii
Posts: 7
Joined: Tue Sep 03, 2024 8:01 am

Re: NEF files corrupt when converted

Post 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
nikonz6iii
Posts: 7
Joined: Tue Sep 03, 2024 8:01 am

Re: NEF files corrupt when converted

Post 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 ...
mak_kawa
Posts: 12
Joined: Mon Dec 25, 2023 3:11 am

Re: NEF files corrupt when converted

Post 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
You do not have the required permissions to view the files attached to this post.
nikonz6iii
Posts: 7
Joined: Tue Sep 03, 2024 8:01 am

Re: NEF files corrupt when converted

Post 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.
mak_kawa
Posts: 12
Joined: Mon Dec 25, 2023 3:11 am

Re: NEF files corrupt when converted

Post by mak_kawa »

Okay, so I have nothing to suggest further... but one thing, do you set "Use multiple CPU cores" option to off?
nikonz6iii
Posts: 7
Joined: Tue Sep 03, 2024 8:01 am

Re: NEF files corrupt when converted

Post by nikonz6iii »

Yes I left that setting turned off (the default)
User avatar
xnview
Author of XnView
Posts: 44373
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: NEF files corrupt when converted

Post by xnview »

the link is not available
Pierre.
nikonz6iii
Posts: 7
Joined: Tue Sep 03, 2024 8:01 am

Re: NEF files corrupt when converted

Post by nikonz6iii »

Sorry - here's another:

https://we.tl/t-ZmIXJ3s7al
User avatar
xnview
Author of XnView
Posts: 44373
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: NEF files corrupt when converted

Post by xnview »

i confirm, if you don't use embedded preview, the raw decoding has problem
Pierre.
nikonz6iii
Posts: 7
Joined: Tue Sep 03, 2024 8:01 am

Re: NEF files corrupt when converted

Post 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'