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

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

#ifndef NeurquantHPP
#define NeurquantHPP

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

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

namespace Neurquant
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TIEQuantizer;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TIEQuantizer : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	int fMethod;
	void *fQT;
	bool fGrayScale;
	Hyiedefs::RGBROW *fSQ;
	int fNCol;
	Hyieutils::TIEBitmap* fSrcBmp;
	int __fastcall GetRGBIndex(const Hyiedefs::TRGB cl);
	
public:
	__fastcall TIEQuantizer(Hyieutils::TIEBitmap* SrcBitmap, Hyiedefs::TRGB *ColorMap, const int ColorMap_High, int NCol);
	__fastcall virtual ~TIEQuantizer(void);
	__property int RGBIndex[const Hyiedefs::TRGB cl] = {read=GetRGBIndex};
	__property bool GrayScale = {read=fGrayScale, nodefault};
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------
}	/* namespace Neurquant */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_NEURQUANT)
using namespace Neurquant;
#endif
#pragma pack(pop)
#pragma option pop

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