随笔分类 -  图像解析

摘要:#include #include #include #include //#define DEBUGvoid parseControlExtension(FILE *fp){if(fgetc(fp) != 4){printf("错误的块大小在偏移 %u 处.\n",ftell(fp) -1);assert(0);}size_t buffer[8] = {0};fread(buffer,1,1,fp);printf("下一个图像块使用的处置方式为:%u.\n",(1+2+4)&(*(char*)buffer >> 2));printf 阅读全文
posted @ 2013-09-24 08:55 renhl 阅读(873) 评论(0) 推荐(0)
摘要:png:http://book.51cto.com/art/200903/112725.htmbmp:http://book.51cto.com/art/200903/112712.htmjpg:http://wenku.baidu.com/view/bb08bad376eeaeaad1f330f0.htmlgif:http://www.cnblogs.com/thinhunan/archive/2006/04/12/372942.html 阅读全文
posted @ 2013-09-24 08:38 renhl 阅读(152) 评论(0) 推荐(0)