<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_rw_m_i_f_f_8h">
<title>/Users/bernard/b20/bsoft/include/rwMIFF.h File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/include/rwMIFF.h</primary></indexterm>
<programlisting>#include &quot;rwimg.h&quot;
</programlisting><simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_rw_m_i_f_f_8h_1ac53672e12a1a4019701219dc8caa9f29">readMIFF</link> (<link linkend="_class_bimage">Bimage</link> *p, int readdata, int img_select)</para>

<para>Reading an Image Magick map image file format. A 2D image format used for X-windows display. The header is text of variable size ending in a colon, &apos;:&apos;. A binary colour table may follow the header. Files can be directly concatenated for a multi-image file. File format extensions: .miff Byte order determination: none. Data types: depth 8 = byte, depth 16 = short. </para>
</listitem>
            <listitem><para>int <link linkend="_rw_m_i_f_f_8h_1af5e54831016e3d60b93144f94718677b">writeMIFF</link> (<link linkend="_class_bimage">Bimage</link> *p)</para>

<para>Writing an Image Magick map image file format. A 2D image format used for X-windows display. </para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Function Documentation</title>
<anchor xml:id="_rw_m_i_f_f_8h_1ac53672e12a1a4019701219dc8caa9f29"/>    <section>
    <title>readMIFF()</title>
<indexterm><primary>readMIFF</primary><secondary>rwMIFF.h</secondary></indexterm>
<indexterm><primary>rwMIFF.h</primary><secondary>readMIFF</secondary></indexterm>
<para><computeroutput>int readMIFF (<link linkend="_class_bimage">Bimage</link> * p, int readdata, int img_select)</computeroutput></para><para>

<para>Reading an Image Magick map image file format. A 2D image format used for X-windows display. The header is text of variable size ending in a colon, &apos;:&apos;. A binary colour table may follow the header. Files can be directly concatenated for a multi-image file. File format extensions: .miff Byte order determination: none. Data types: depth 8 = byte, depth 16 = short. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>*p</entry>
                                <entry>
<para>the image structure. </para>
</entry>
                            </row>
                            <row>
                                <entry>readdata</entry>
                                <entry>
<para>flag to activate reading of image data. </para>
</entry>
                            </row>
                            <row>
                                <entry>img_select</entry>
                                <entry>
<para>image selection in multi-image file (-1 = all images). </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int 0. </para>
</formalpara>
</para>
<para>
Definition at line 30 of file rwMIFF.cpp.</para>
    </section><anchor xml:id="_rw_m_i_f_f_8h_1af5e54831016e3d60b93144f94718677b"/>    <section>
    <title>writeMIFF()</title>
<indexterm><primary>writeMIFF</primary><secondary>rwMIFF.h</secondary></indexterm>
<indexterm><primary>rwMIFF.h</primary><secondary>writeMIFF</secondary></indexterm>
<para><computeroutput>int writeMIFF (<link linkend="_class_bimage">Bimage</link> * p)</computeroutput></para><para>

<para>Writing an Image Magick map image file format. A 2D image format used for X-windows display. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>*p</entry>
                                <entry>
<para>the image structure. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int 0. </para>
</formalpara>
</para>
<para>
Definition at line 150 of file rwMIFF.cpp.</para>
</section>
</section>
</section>
