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

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

#ifndef GIFFilterHPP
#define GIFFilterHPP

#pragma delphiheader begin
#pragma option push -w-
#include <hyiedefs.hpp>	// Pascal unit
#include <ImageEnProc.hpp>	// Pascal unit
#include <ImageEnIO.hpp>	// Pascal unit
#include <ImageEn.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- 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 AnsiString nf, Word iters, int windx, int windy
	);
extern PACKAGE int __fastcall _DeleteGifIm(AnsiString nf, int idx, bool wr);
extern PACKAGE bool __fastcall _CheckGifAnimate(const AnsiString nf);
extern PACKAGE void __fastcall ReadGif(AnsiString nf, Graphics::TBitmap* OutBitmap, int &numi, Imageenio::TIOParamsVals* 
	&IOParams, Hyiedefs::TProgressRec &Progress);
extern PACKAGE void __fastcall ReadGifStream(Classes::TStream* fs, Graphics::TBitmap* OutBitmap, int 
	&numi, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress, bool Preview);
extern PACKAGE void __fastcall WriteGif(AnsiString nf, Graphics::TBitmap* bitmap, Imageenio::TIOParamsVals* 
	&IOParams, Hyiedefs::TProgressRec &Progress);
extern PACKAGE void __fastcall WriteGifStream(Classes::TStream* fs, Graphics::TBitmap* bitmap, Imageenio::TIOParamsVals* 
	&IOParams, Hyiedefs::TProgressRec &Progress);
extern PACKAGE int __fastcall _InsertGifIm(AnsiString nf, Graphics::TBitmap* bitmap, Imageenio::TIOParamsVals* 
	&IOParams, Hyiedefs::TProgressRec &Progress);
extern PACKAGE int __fastcall _InsertGifImStream(Classes::TStream* fs, Graphics::TBitmap* bitmap, Imageenio::TIOParamsVals* 
	&IOParams, Hyiedefs::TProgressRec &Progress);

}	/* namespace Giffilter */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Giffilter;
#endif
#pragma option pop	// -w-

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// GIFFilter
