2016-05-17 03:04:11 +12:00
|
|
|
#pragma once
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
#ifndef TIIO_TGA_INCLUDED
|
|
|
|
#define TIIO_TGA_INCLUDED
|
|
|
|
|
|
|
|
#include "tiio.h"
|
|
|
|
//#include "timage_io.h"
|
|
|
|
#include "tproperty.h"
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
namespace Tiio
|
|
|
|
{
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
class TgaWriterProperties : public TPropertyGroup
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
TEnumProperty m_pixelSize; // 16,24,32
|
|
|
|
TBoolProperty m_compressed;
|
|
|
|
|
|
|
|
TgaWriterProperties();
|
|
|
|
};
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
Tiio::Reader *makeTgaReader();
|
|
|
|
Tiio::Writer *makeTgaWriter();
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
#endif
|