The Graphics Interchange Format (tm) was created by Compuserve Inc. as a
standard for the storage and transmission of raster-based graphics information,
i.e. images. A GIF file may contain several images, which are to be displayed
overlapping and without any delay betwenn the images. The image data itself is
compressed using a LZW scheme. Please note that the LZW algorithm is patented by
UniSys and that since Jan. 1995 royalties to Compuserve are due for every software
that implements GIF images.
The GIF file consists of a global GIF header, one or more image blocks and
optionally some GIF extensions.
OFFSET Count TYPE Description
0000h 6 char ID='GIF87a', ID='GIF89a'
This ID may be viewed as a version number
0006h 1 word Image width
0008h 1 word Image height
000Ah 1 byte bit mapped
0-2 - bits per pixel -1
3 - reserved
4-6 - bits of color resolution
7 - Global color map follows image descriptor
000Bh 1 byte Color index of screen background
000Ch 1 byte reserved
The global color map immediately follows the screen descriptor and has the size
(2**BitsPerPixel), and has the RGB colors for each color index. 0 is none, 255
is full intensity. The bytes are stored in the following format :
OFFSET Count TYPE Description
0000h 1 byte Red component
0001h 1 byte Green component
0002h 1 byte Blue component
After the first picture, there may be more pictures attached in the file
whic overlay the first picture or parts of the first picture. The Image
Descriptor defines the actual placement and extents of the following image
within the space defined in the Screen Descriptor. Each Image Descriptor is
introduced by an image separator character. The role of the Image Separator
is simply to provide a synchronization character to introduce an Image
Descriptor, the image separator is defined as ",", 02Ch, Any characters
encountered between the end of a previous image and the image separator
character are to be ignored.
The format of the Image descriptor looks like this :
OFFSET Count TYPE Description
0000h 1 char Image separator
ID=','
0001h 1 word Left offset of image
0003h 1 word Upper offset of image
0005h 1 word Width of image
0007h 1 word Height of image
0009h 1 byte Palette description - bitmapped
0-2 - Number of bits per pixel-1
3-5 - reserved (0)
6 - Interlaced / sequential image
7 - local / global color map, ignore bits 0-2
To provide for some possibility of an extension of the GIF files, a special
extension block introducer can be added after the GIF data block. The block has
the following structure :
OFFSET Count TYPE Description
0000h 1 char ID='!'
0001h 1 byte Extension ID
0002h ? rec
1 word Byte count
? byte Extra data
????h 1 byte Zero byte count - terminates extension block.
EXTENSION:GIF
OCCURENCES:PC
PROGRAMS:CSHOW.EXE
SEE ALSO:
VALIDATION:
没有合适的资源?快使用搜索试试~ 我知道了~
GIF-File-Format-Summary.zip_CompuServe GIF_Created By

共1个文件
txt:1个

1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 122 浏览量
2022-09-24
07:35:22
上传
评论
收藏 1KB ZIP 举报
温馨提示
The Graphics Interchange Format (tm) was created by Compuserve Inc. as a standard for the storage and transmission of raster-based graphics information, i.e. images. A GIF file may contain several images, which are to be displayed overlapping and without any delay betwenn the images
资源推荐
资源详情
资源评论























格式:pdf 资源大小:1.3MB 页数:88








收起资源包目录


共 1 条
- 1
资源评论


四散
- 粉丝: 86
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 2007年9月全国计算机等级历年考试三级网络技术笔试真题02327.doc
- 项目管理价值规划体现在哪.docx
- 河南省网络舆情分析报告.docx
- 信息化背景下的事业单位会计内部控制对策.docx
- 浅析计算机操作系统及其发展.docx
- 专业技术人员继续《网络效应》题库.doc
- 操作系统与网络知识.ppt
- 水利工程机电设备质量管理和自动化监控技术分析.doc
- C单片机烟雾报警器设计方案原版.doc
- 基于大数据的承德数字经济及相关产业链研究.docx
- 探究性学习模式在中职计算机教学中的应用.docx
- 教室电铃的PLC自动控制.doc
- 安防电子商务发展背景及趋势分析.docx
- ATS单片机自动控制电铃设计方案与开发.doc
- 单片机的电子密码锁设计开题报告.doc
- 基于物联网的实验室管理模式的研究.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
