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

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

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

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

namespace Pcxfilter
{
//-- type declarations -------------------------------------------------------
#pragma pack(push, 1)
struct TPcxHeader
{
	Byte Manufacturer;
	Byte Version;
	Byte Encoding;
	Byte Bits_Per_Pixel;
	Word Xmin;
	Word Ymin;
	Word Xmax;
	Word Ymax;
	Word Hres;
	Word Vres;
	Iedefs::TRGB Palette[16];
	Byte Reserved;
	Byte Colour_Planes;
	Word Bytes_Per_Line;
	Word Palette_Type;
	Byte Filler[58];
} ;
#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE void __fastcall ReadPcx(System::AnsiString nf, Graphics::TBitmap* Bitmap, Imageenio::TIOParamsVals* 
	&IOParams, Iedefs::TProgressRec &Progress);
extern PACKAGE void __fastcall ReadPcxStream(Classes::TStream* fs, Graphics::TBitmap* Bitmap, Imageenio::TIOParamsVals* 
	&IOParams, int fsDim, Iedefs::TProgressRec &Progress, bool Preview);
extern PACKAGE void __fastcall WritePcx(System::AnsiString nf, Graphics::TBitmap* bitmap, Imageenio::TIOParamsVals* 
	&IOParams, Iedefs::TProgressRec &Progress);
extern PACKAGE void __fastcall WritePcxStream(Classes::TStream* fs, Graphics::TBitmap* bitmap, Imageenio::TIOParamsVals* 
	&IOParams, Iedefs::TProgressRec &Progress);

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