-
|
Hello! I'm using Magick.NET-Q16-AnyCPU v14.10.0 to identify image formats. For NEF (.nef) files, Ping() is returning Tiff instead of Nef. When I use ImageMagick via cmd identify, it returns Nef as expected. Does Magick.NET supports NEF? I've attached an example NEF image. Tried other formats (tif, jpg, png, heic, etc) and Ping() works fine. Somehow, it's just not reading NEF correctly. Thanks, |
Beta Was this translation helpful? Give feedback.
Answered by
dlemstra
Dec 15, 2025
Replies: 1 comment 3 replies
-
|
Can you provide me with a code sample? How are you reading this file? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue here is that you are reading it from a stream instead of a file. When ImageMagick reads the file on the command line it also uses the extensions to determine the format of the image. And that is why it works on the command line but not with a stream. You will need to specify the extension here.