Why Memory allocation failed whe HPDF_LoadPngImageFromFile using libhpdf?

对着背影说爱祢 提交于 2019-12-13 08:52:59

问题


I got a exception ERROR: error_no=1015, detail_no=0 using HPDF_LoadPngImageFromFile to load a png file with a jpeg file extention.I have libpng and libpng-dev installed. I can not figure out why this exception occurs. Anyone help me? Thanks.


回答1:


LOL,I had compile libaru demo already....thanks stackoverflow..and libharu developer.

ERROR: error_no=1015, detail_no=0

general , you must check your image file weather or not exist in current directory.

indicate you c program want to load something isn't exist.

Good luck.



来源:https://stackoverflow.com/questions/10771205/why-memory-allocation-failed-whe-hpdf-loadpngimagefromfile-using-libhpdf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!