I used a NEF image, and I've seen it happen with 3FR images as well. Though I did manage to solve it by giving the constructor a setting and telling the library that the format is Nef.
Though it's still weird that giving it a full byte stream would cause it difficulties when a full file path doesn't have the issue. So if there's an explanation, it would still help with my understanding, and future debugging.
Either way, here's the specific file I was testing with: https://mega.nz/#!xsxgiRYY!zsKfXNulzUV2rbbWN14zSL5U8lZdzdgVj_2AYy2m_2E
Though it's still weird that giving it a full byte stream would cause it difficulties when a full file path doesn't have the issue. So if there's an explanation, it would still help with my understanding, and future debugging.
Either way, here's the specific file I was testing with: https://mega.nz/#!xsxgiRYY!zsKfXNulzUV2rbbWN14zSL5U8lZdzdgVj_2AYy2m_2E