免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2628 | 回复: 0
打印 上一主题 下一主题

GIF Metadata Format Specification [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-01-06 13:43 |只看该作者 |倒序浏览

               
GIF Image Metadata Format Specification
The GIF image metadata format encodes the image descriptor, local
color table, and extension information assciated with a single image
within a GIF file, typically a frame of an animation.
The image description contains the offset of the frame within the
logical screen described in the stream metadata, as well as the width
and height of the frame and whether it is used interlaced encoding.
The local color table, if present, supersedes the global color table
for the frame at hand.
The graphic control extension contains information on how the frame is
to be incorporated into the animation.  The disposal method indicates
whether the current frame should remain in place
(doNotDispose), be restored to the backgound color as
specified in the stream metadata
(restoreToBackgroundColor), or be restored to the
previous frame contents (restoreToPrevious) prior to
displaying the subsequent frame.
The user input flag indicates whether the animation should pause for
user input before advancing to the next frame.  The transparent color
flag and index indicate a color index for which pixels of the frame
should not be drawn.  The delay time indicates how long the frame
should be displayed, in hundredths of a second.  If the user input
flag is set and the delay time is 0, the frame is intended to be
advanced only on user input.
   
      
      
        
        
        
        
      
        
        
        
        
      
        
        
        
        
      
        
        
        
        
      
        
   
      
      
      
      
        
      
        
      
        
        
         
         
         
         
        
         
         
         
         
        
         
         
         
         
        
         
         
         
         
   
      
      
        
      
        
      
        
      
        
        
        
        
      
        
        
        
        
   
      
      
        
        
        
        
      
        
        
        
        
      
        
        
        
        
      
        
        
        
        
      
        
        
        
        
      
        
        
        
        
      
        
        
        
        
      
        
        
        
        
   
      
      
      
      
        
        
        
        
        
         
         
        
         
         
   
      
      
      
      
        
        
         
         
]>
Mapping of Standard to GIF Native Stream Metadata
Standard Metadata Component
GIF Native Stream Metadata Component
/Chroma/Palette/PaletteEntry@index
/GlobalColorTable/ColorTableEntry@index
/Chroma/Palette/PaletteEntry@red
/GlobalColorTable/ColorTableEntry@red
/Chroma/Palette/PaletteEntry@green
/GlobalColorTable/ColorTableEntry@green
/Chroma/Palette/PaletteEntry@blue
/GlobalColorTable/ColorTableEntry@blue
/Chroma/BackgroundIndex@value
/GlobalColorTable@backgroundColorIndex
/Data/BitsPerSample@value
/LogicalScreenDescriptor@colorResolution
/Dimension/PixelAspectRatio@value
/LogicalScreenDescriptor@pixelAspectRatio
/Dimension/HorizontalScreenSize@value
/LogicalScreenDescriptor@logicalScreenWidth
/Dimension/VerticalScreenSize@value
/LogicalScreenDescriptor@logicalScreenHeight
/Document/FormatVersion@value
/Version@value
Mapping of Standard to GIF Native Image Metadata
Standard Metadata Component
GIF Native Image Metadata Component
/Chroma/Palette/PaletteEntry@index
/LocalColorTable/ColorTableEntry@index
/Chroma/Palette/PaletteEntry@red
/LocalColorTable/ColorTableEntry@red
/Chroma/Palette/PaletteEntry@green
/LocalColorTable/ColorTableEntry@green
/Chroma/Palette/PaletteEntry@blue
/LocalColorTable/ColorTableEntry@blue
/Dimension/HorizontalPixelOffset@value
/ImageDescriptor@imageLeftPosition
/Dimension/VerticalPixelOffset@value
/ImageDescriptor@imageTopPosition
/Text/TextEntry@value
/CommentExtensions/CommentExtension@value
/Transparency/TransparentIndex@value
/GraphicControlExtension@transparentColorIndex
(/GraphicControlExtension@transparentColorFlag is also set to
"TRUE")
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/24141/showart_2142109.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP