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

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

#ifndef BmpfiltHPP
#define BmpfiltHPP

#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 <imageenproc.hpp>
#include <imageenio.hpp>
#include <hyiedefs.hpp>
#include <hyieutils.hpp>

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

namespace Bmpfilt
{
//-- forward type declarations -----------------------------------------------
//-- type declarations -------------------------------------------------------
//-- var, const, procedure ---------------------------------------------------
static const int IEBI_RGB = int(0x32424752);
static const int IEBI_RLE8 = int(0x38454c52);
static const int IEBI_RLE = int(0x34454c52);
static const int IEBI_RAW = int(0x32776173);
static const int IEBI_RGBA = int(0x41424752);
static const int IEBI_RGBT = int(0x54424752);
extern DELPHI_PACKAGE void __fastcall BMPReadStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* Bitmap, int BlockDim, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress, bool Preview, bool MissingFileHead, Hyieutils::TIEMask* &AlphaChannel, bool IgnoreAlpha);
extern DELPHI_PACKAGE void __fastcall BMPWriteStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress, bool Save32BitAsAlpha);
extern DELPHI_PACKAGE bool __fastcall ICOTryStream(System::Classes::TStream* fs);
extern DELPHI_PACKAGE int __fastcall _EnumICOImStream(System::Classes::TStream* fs);
extern DELPHI_PACKAGE void __fastcall ICOReadStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, bool Preview, Hyiedefs::TProgressRec &Progress, Hyieutils::TIEMask* &AlphaChannel, bool IgnoreAlpha, bool bExceptionOnInvalidSize = false);
extern DELPHI_PACKAGE void __fastcall ICOWriteStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress, System::Types::TSize *sizes, const int sizes_High, int *bitcounts, const int bitcounts_High);
extern DELPHI_PACKAGE void __fastcall ICOWriteStream2(System::Classes::TStream* fs, System::TObject* *ielist, const int ielist_High, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE bool __fastcall IESaveIconToStream(System::Classes::TStream* Stream, HICON icon);
extern DELPHI_PACKAGE void __fastcall IEConvertIconToBitmap(HICON icon, Hyieutils::TIEBitmap* DestBitmap, bool bExceptionOnInvalidSize = false);
extern DELPHI_PACKAGE HICON __fastcall IEGetFileIcon(const System::UnicodeString filename)/* overload */;
extern DELPHI_PACKAGE void __fastcall IEGetFileIcon(const System::UnicodeString filename, Hyieutils::TIEBitmap* DestBitmap)/* overload */;
extern DELPHI_PACKAGE bool __fastcall CURTryStream(System::Classes::TStream* fs);
extern DELPHI_PACKAGE void __fastcall CURReadStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, bool Preview, Hyiedefs::TProgressRec &Progress, Hyieutils::TIEMask* &AlphaChannel, bool IgnoreAlpha);
extern DELPHI_PACKAGE bool __fastcall TryPXM(System::Classes::TStream* fs);
extern DELPHI_PACKAGE void __fastcall PXMReadStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress, bool Preview);
extern DELPHI_PACKAGE void __fastcall PXMWriteStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE void __fastcall WBMPReadStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress, bool Preview);
extern DELPHI_PACKAGE void __fastcall WBMPWriteStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE void * __fastcall IEPostScriptCreate(System::Classes::TStream* fs, Imageenio::TIOParamsVals* &IOParams);
extern DELPHI_PACKAGE void __fastcall IEPostScriptClose(void * handle, System::Classes::TStream* fs);
extern DELPHI_PACKAGE void __fastcall IEPostScriptSave(void * handle, System::Classes::TStream* fs, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE void __fastcall IEPostScriptSaveOneStep(System::Classes::TStream* fs, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE void * __fastcall IEPDFCreate(Imageenio::TIOParamsVals* &IOParams);
extern DELPHI_PACKAGE void __fastcall IEPDFSave(void * handle, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE void __fastcall IEPDFClose(void * handle, System::Classes::TStream* fs, Imageenio::TIOParamsVals* &IOParams);
extern DELPHI_PACKAGE void __fastcall IEPDFSaveOneStep(System::Classes::TStream* fs, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE bool __fastcall IEEMFTryStream(System::Classes::TStream* Stream);
extern DELPHI_PACKAGE bool __fastcall IEWMFTryStream(System::Classes::TStream* Stream);
extern DELPHI_PACKAGE void __fastcall IERealRAWReadStream(System::Classes::TStream* Stream, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE void __fastcall IERealRAWWriteStream(System::Classes::TStream* Stream, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress);
}	/* namespace Bmpfilt */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_BMPFILT)
using namespace Bmpfilt;
#endif
#pragma pack(pop)
#pragma option pop

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