I check which lib read your file in my configuration it is
C:\lib\opencv\modules\imgcodecs\src\grfmt_pxm.cpp
In cmake configuration there is WITH_IMGCODEC_PXM Is it true in your config?
I check which lib read your file in my configuration it is
C:\lib\opencv\modules\imgcodecs\src\grfmt_pxm.cpp
In cmake configuration there is WITH_IMGCODEC_PXM Is it true in your config?