// Borland C++ Builder
// Copyright (c) 1995, 1998 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'GIFFilter.pas' rev: 3.00

#ifndef GIFFilterHPP
#define GIFFilterHPP
#include <iedefs.hpp>
#include <ImageEnProc.hpp>
#include <ImageEnIO.hpp>
#include <ImageEn.hpp>
#include <SysUtils.hpp>
#include <Classes.hpp>
#include <Graphics.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

//-- user supplied -----------------------------------------------------------

namespace Giffilter
{
//-- type declarations -------------------------------------------------------
#pragma pack(push, 1)
struct TGifHeader
{
	char id[6];
	Word WinWidth;
	Word WinHeight;
	Byte Flags;
	Byte Background;
	Byte Ratio;
} ;
#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE void __fastcall _GifMakeAnimate(const System::AnsiString nf, Word iters, int windx, int 
	windy);
extern PACKAGE int __fastcall _DeleteGifIm(System::AnsiString nf, int idx, bool wr);
extern PACKAGE bool __fastcall _CheckGifAnimate(const System::AnsiString nf);
extern PACKAGE void __fastcall ReadGif(System::AnsiString nf, Graphics::TBitmap* OutBitmap, int &numi
	, Imageenio::TIOParamsVals* &IOParams, Iedefs::TProgressRec &Progress);
extern PACKAGE void __fastcall ReadGifStream(Classes::TStream* fs, Graphics::TBitmap* OutBitmap, int 
	&numi, Imageenio::TIOParamsVals* &IOParams, Iedefs::TProgressRec &Progress, bool Preview);
extern PACKAGE void __fastcall WriteGif(System::AnsiString nf, Graphics::TBitmap* bitmap, Imageenio::TIOParamsVals* 
	&IOParams, Iedefs::TProgressRec &Progress);
extern PACKAGE void __fastcall WriteGifStream(Classes::TStream* fs, Graphics::TBitmap* bitmap, Imageenio::TIOParamsVals* 
	&IOParams, Iedefs::TProgressRec &Progress);
extern PACKAGE int __fastcall _InsertGifIm(System::AnsiString nf, Graphics::TBitmap* bitmap, Imageenio::TIOParamsVals* 
	&IOParams, Iedefs::TProgressRec &Progress);
extern PACKAGE int __fastcall _InsertGifImStream(Classes::TStream* fs, Graphics::TBitmap* bitmap, Imageenio::TIOParamsVals* 
	&IOParams, Iedefs::TProgressRec &Progress);

}	/* namespace Giffilter */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Giffilter;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// GIFFilter
