tahoma2d/toonz/sources/image/tga/tiio_tga.h

37 lines
834 B
C
Raw Normal View History

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"
#include <QCoreApplication>
2016-03-19 06:57:51 +13:00
//===========================================================================
2016-06-15 18:43:10 +12:00
namespace Tiio {
2016-03-19 06:57:51 +13:00
//===========================================================================
class TgaWriterProperties final : public TPropertyGroup {
Q_DECLARE_TR_FUNCTIONS(TgaWriterProperties)
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();
void updateTranslation() override;
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