tahoma2d/toonz/sources/image/png/tiio_png.h

35 lines
740 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 TTIO_PNG_INCLUDED
#define TTIO_PNG_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 PngWriterProperties final : public TPropertyGroup {
Q_DECLARE_TR_FUNCTIONS(PngWriterProperties)
2016-03-19 06:57:51 +13:00
public:
2016-06-15 18:43:10 +12:00
// TEnumProperty m_pixelSize;
TBoolProperty m_matte;
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
PngWriterProperties();
void updateTranslation() override;
2016-03-19 06:57:51 +13:00
};
//===========================================================================
Tiio::Reader *makePngReader();
Tiio::Writer *makePngWriter();
2016-06-15 18:43:10 +12:00
} // namespace
2016-03-19 06:57:51 +13:00
#endif