随笔分类 - 图像解析
摘要:#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
阅读全文
摘要: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
阅读全文
浙公网安备 33010602011771号