谨以此文献给那些热爱图像编程的朋友(由于内容较多,仅选7篇)6

BlueDeepOcean BlueDeepOcean 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
pic format

pic format

pic files contain images in an uncompressed format. both the original animator
and animator pro from autodesk produce pic files. the file formats are
different; animator pro produces a hierarchial block oriented file, while the
original animator file is a simpler fixed format. see pic(pro) for further
information on the animator pro pic format.

the original animator uses this format to store a single-frame picture image.
this format description applies to both pic and original animator cel files. the
file begins with a 32 byte header, as follows:

offset count type description
0000h 1 word id=9119h
0002h 1 word width of image; pic files have always a width
of 320, cel images may have any value.
0004h 1 word height of image, 200 for a pic, any value for
a cel file.
0006h 1 word x offset of image, always 0 for a pic image,
may be nonzero in a cel image.
0008h 1 word y offset of image. zero for a pic file.
000ah 1 byte bits per pixel (8)
000bh 1 byte compresion flag, always zero
000ch 1 dword size of the image data in bytes
0010h 16 byte reserved(0)

immediately following the header is the color map. it contains all 256 palette
entries in rgb order. each of the r, g, and b components is a single byte in the
range of 0-63. following the color palette is the image data, one byte per
pixel, from left to right, top to bottom.
--------------------------------------------------------------------------------
...全文
评论 1
收藏 已收藏
分享
返回顶部