如何检查jpeg文件是否包含带nodejs的DNL标记?

时间:2017-11-30 23:12:27

标签: c++ node.js opencv

在我的应用程序中,我对nodejs使用opencv绑定。几天前,它开始崩溃一些错误的文件:

OpenCV Error: Unknown error code -10 (Raw image encoder error: Empty JPEG image (DNL not supported)) in throwOnEror file
/home/.../opencv/src/modules/highgui/src/grfmt_base.cpp, line 131
terminate called after throwing an instance of 'cv::Exception'

如何检查该文件是否包含DNL标记?

0 个答案:

没有答案