//========= Copyright © 1996-2001, Valve LLC, All rights reserved. ============
//
// Purpose: 
//
// $NoKeywords: $
//=============================================================================

#ifndef TGAWRITER_H
#define TGAWRITER_H
#pragma once


#include "imageloader.h"

namespace TGAWriter
{

bool Write( unsigned char *pImageData, const char *fileName, int width, int height, 
            enum ImageFormat srcFormat, enum ImageFormat dstFormat );

#ifndef TGAWRITER_USE_FOPEN
bool SetFileSystem( CreateInterfaceFn fileSystemFactory );
#endif

} // end namespace TGAWriter

#endif // TGAWRITER_H
