-/*! ========================================================================
-** Synfig
-** BMP Target Module
-** $Id: trgt_gif.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $
+/* === S Y N F I G ========================================================= */
+/*! \file trgt_gif.cpp
+** \brief BMP Target Module
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** General Public License for more details.
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** General Public License for more details.
SYNFIG_TARGET_SET_NAME(gif,"gif");
SYNFIG_TARGET_SET_EXT(gif,"gif");
SYNFIG_TARGET_SET_VERSION(gif,"0.1");
SYNFIG_TARGET_SET_NAME(gif,"gif");
SYNFIG_TARGET_SET_EXT(gif,"gif");
SYNFIG_TARGET_SET_VERSION(gif,"0.1");
/* === M E T H O D S ======================================================= */
gif::gif(const char *filename_):
filename(filename_),
/* === M E T H O D S ======================================================= */
gif::gif(const char *filename_):
filename(filename_),
fputc(33,file.get()); // 33 (hex 0x21) GIF Extension code
fputc(255,file.get()); // 255 (hex 0xFF) Application Extension Label
fputc(11,file.get()); // 11 (hex (0x0B) Length of Application Block
fputc(33,file.get()); // 33 (hex 0x21) GIF Extension code
fputc(255,file.get()); // 255 (hex 0xFF) Application Extension Label
fputc(11,file.get()); // 11 (hex (0x0B) Length of Application Block
fputc((loop_count&0x0000ff00)>>8,file.get());
fputc(0,file.get()); // 0 (hex 0x00) a Data Sub-block Terminator.
}
fputc((loop_count&0x0000ff00)>>8,file.get());
fputc(0,file.get()); // 0 (hex 0x00) a Data Sub-block Terminator.
}