// CodeGear C++Builder
// Copyright (c) 1995, 2015 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'giffilter.pas' rev: 30.00 (Windows)

#ifndef GiffilterHPP
#define GiffilterHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <Winapi.Windows.hpp>
#include <Vcl.Graphics.hpp>
#include <System.Classes.hpp>
#include <System.SysUtils.hpp>
#include <imageen.hpp>
#include <imageenio.hpp>
#include <imageenproc.hpp>
#include <hyiedefs.hpp>
#include <hyieutils.hpp>

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

namespace Giffilter
{
//-- forward type declarations -----------------------------------------------
struct TGIFHeader;
//-- type declarations -------------------------------------------------------
#pragma pack(push,1)
struct DECLSPEC_DRECORD TGIFHeader
{
public:
	System::StaticArray<char, 6> id;
	System::Word WinWidth;
	System::Word WinHeight;
	System::Byte Flags;
	System::Byte Background;
	System::Byte Ratio;
};
#pragma pack(pop)


//-- var, const, procedure ---------------------------------------------------
extern DELPHI_PACKAGE void __fastcall _GIFMakeAnimate(const System::UnicodeString FileName, System::Word iters, int windx, int windy);
extern DELPHI_PACKAGE int __fastcall _DeleteGIFIm(System::UnicodeString FileName, int idx, bool wr);
extern DELPHI_PACKAGE bool __fastcall _CheckGIFAnimate(const System::UnicodeString FileName);
extern DELPHI_PACKAGE void __fastcall ReadGIFStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* OutBitmap, int &numi, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress, bool Preview, Hyieutils::TIEMask* &AlphaChannel, bool IgnoreAlpha);
extern DELPHI_PACKAGE void __fastcall WriteGIFStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE int __fastcall _InsertGIFIm(System::UnicodeString FileName, Hyieutils::TIEBitmap* bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE int __fastcall _InsertGIFImStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress);
}	/* namespace Giffilter */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_GIFFILTER)
using namespace Giffilter;
#endif
#pragma pack(pop)
#pragma option pop

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