From 7de9c00765f00a3b0f3bfca8438257177b77eb96 Mon Sep 17 00:00:00 2001 From: Liu Chao Date: Thu, 21 Feb 2013 22:05:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=AB=98=E6=96=AF=E6=A8=A1?= =?UTF-8?q?=E7=B3=8A=E5=A4=84=E7=90=86=E7=9A=84=E6=B5=8B=E8=AF=95=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/test_gaussian_blur.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_gaussian_blur.c b/test/test_gaussian_blur.c index 48606da7..2c796087 100644 --- a/test/test_gaussian_blur.c +++ b/test/test_gaussian_blur.c @@ -4,6 +4,7 @@ #include LC_LCUI_H #include LC_DRAW_H #include LC_GRAPH_H +#include int main(int argc, char *argv[]) { @@ -16,6 +17,7 @@ int main(int argc, char *argv[]) if(argc == 2) { /* 载入图片文件 */ if( Load_Image( argv[1], &graph ) != 0) { + printf("can not load images!\n"); return -1; } /* 开始计时 */ @@ -25,7 +27,7 @@ int main(int argc, char *argv[]) printf("smooth, use time: %ld us\n", clock()-start); start = clock(); /* 将图像数据保存至文件 */ - write_png( "./output.png", &slot ); + write_png( "output.png", &slot ); printf("write, use time: %ld us\n", clock()-start); /* 释放资源 */ Graph_Free( &slot );