내 프로젝트 중 하나입니다. im4java 라이브러리를 사용하고 graphicsmagick을 통해 명령을 보내고 있습니다.graphicsmagick으로 이미지 크기 얻기
identify -format \"%w,%h,\" test.png
내가 다음과 같은 결과까지 제대로 크기를 얻을 수 있습니다 :
는 이미지 크기를 얻을 수 있습니다. 이번에 stderr는 결과를 변경합니다 :[wx=0.345750, wy=0.358550, rx=0.648500, ry=0.330880
gx=0.321210, gy=0.597870, bx=0.155890, by=0.066040
163, 70,
identify: Ignoring incorrect cHRM value when sRGB is also present ]
이미지 크기를 얻고 stderr 결과를 무시하는 방법은 무엇입니까? 사전에
감사