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"
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
namespace Tiio {
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
2016-06-29 18:17:12 +12:00
|
|
|
class TgaWriterProperties final : public TPropertyGroup {
|
2016-03-19 06:57:51 +13:00
|
|
|
public:
|
2016-06-15 18:43:10 +12:00
|
|
|
TEnumProperty m_pixelSize; // 16,24,32
|
|
|
|
TBoolProperty m_compressed;
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
TgaWriterProperties();
|
2016-03-19 06:57:51 +13:00
|
|
|
};
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
Tiio::Reader *makeTgaReader();
|
|
|
|
Tiio::Writer *makeTgaWriter();
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
} // namespace
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
#endif
|