0
#include "stdafx.h"
#include <boost/gil/gil_all.hpp>
#include <boost/gil/extension/io/png_io.hpp>
namespace gil = boost::gil;
int _tmain(int argc, _TCHAR* argv[])
{
gil::gray8_image_t input;
gil::png_read_image("..\\resources\\frame10.png",input);
return 0;
}
주 프로그램에서 나는 png 이미지를 읽고 싶다. 디버그에는 문제가 없습니다. 그러나 실행 파일을 실행하면 충돌이 발생합니다. 이유가 뭐야? 고맙습니다!libpng를 사용하여 어떻게 png 이미지를 읽을 수 있습니까?