카테고리 없음
libpng error: CgBI: unhandled critical chunk 오류
유녕2
2016. 7. 28. 16:55
그냥 빈프로젝트생성해서 아이폰에서 포팅하는데 뭔놈의 오류 투성이들..
그래도 안될것 같던게 다 설정 옵션값만 변경해줘서 돌아가게 됬다.
하하하
libpng error: CgBI: unhandled critical chunk 에러가 나면 아래와 같이 설정해주면 된다
* Error
libpng error: CgBI: unhandled critical chunk :
* Solution
Build Settings -> Compress PNG files - Packaging -> Remove Text Metadata From PNG
set "Yes" to "No" (default is "Yes")
iPhone에서는 PNG 이미지를 pngcrush tool을 이용해서 comression 하고 있다.
그리므로 original png decoder를 이용하면 PNG 이미지를 볼 수 없다.
original png decoder를 이용해 PNG 이미지를 볼려면,
위와같이 설정.
http://blog.naver.com/linkerror/100116123700 출처