<HTML>
<A NAME="pagetop"></A>
<BASEFONT SIZE="3">
<HEAD>
<TITLE>
Image Data Format
</TITLE>
</HEAD>
<BODY BGCOLOR="white" TEXT="black">
<CENTER>
<A HREF="../../index.htm" target="_top"><IMAGE SRC="../../image/mokuji.gif"></A>
</CENTER>
<H3>
Image Data Format
</H3>
<P>
<HR SIZE="1">
<H3>
Overview
</H3>
Image data refers to a 2D image.
<P>
<HR SIZE="1">
<H3>
File Extension
</H3>
The extension of the data file is ".x".
<P>
<HR SIZE="1">
<H3>
Format
</H3>
The MicroAVS image data file is described completely in binary. The first two 
words at the head of the file are used to denote the horizontal and vertical 
sizes of the image.  Following this, the data for each pixel is describe till 
the end of the file.  However, the data corresponding to each pixel consists 
of 4 bytes of data consisting of the alpha component (extra component), 
red color component (red), green color component (green) and the  blue color 
component (blue). Each of these components is denoted by one byte of data and 
0 is set as the value of the alpha component. Further, a value between 0-255 
denoting the color of each pixel is set in each of the red, green and blue 
components
<P>
<CENTER>
<IMG SRC="../../image/imform.gif" ALIGN="center"><BR>
<U>Overview of the Image Data Format</U>
</CENTER>
<P>
Size in X direction 4 byte integer<BR>
Size in Y direction 4-byte integer<BR>
data for pixel #1<BR>
data for pixel #2<BR>
data for pixel #3<BR>
...<BR>
...<BR>
...<BR>
data for the last pixel<BR>
<P>
each pixel:
<BLOCKQUOTE>
alpha    1byte (0)<BR>
red      1 byte (0 - 255)<BR>
green    1 byte(0 - 255)<BR>
blue     1 byte (0 -255)<BR>
</BLOCKQUOTE>
<HR SIZE="1">
<H3>
Assumption
</H3>
The image file format of MicroAVS is the same as that of AVS   which is the 
sister product of MicroAVS.
<P>
<HR SIZE="1">
<TABLE BORDER=0 WIDTH="100%"><TR><TD ALIGN=LEFT>
<A HREF="#pagetop"><IMG SRC="../../image/pagetop.gif" ALT="UP"></A></TD><BR>
<TD ALIGN=RIGHT><FONT FACE="MS SANS SERIF" SIZE=1 COLOR="BLACK">
&copy; 1999-2011 <A HREF="http://www.cybernet.co.jp/english/">CYBERNET SYSTEMS CO.,LTD.</A>
 All rights reserved.</FONT></TD>
</TR></TABLE>
</BODY>
</HTML>
