Shinya Kitaoka 810553
#pragma once
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef TTIO_PNG_INCLUDED
Toshihiro Shimizu 890ddd
#define TTIO_PNG_INCLUDED
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "tiio.h"
Toshihiro Shimizu 890ddd
//#include "timage_io.h"
Toshihiro Shimizu 890ddd
#include "tproperty.h"
shun-iwasawa e87e08
#include <qcoreapplication></qcoreapplication>
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//===========================================================================
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
namespace Tiio {
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//===========================================================================
Toshihiro Shimizu 890ddd
Shinya Kitaoka d1f6c4
class PngWriterProperties final : public TPropertyGroup {
shun-iwasawa e87e08
  Q_DECLARE_TR_FUNCTIONS(PngWriterProperties)
Toshihiro Shimizu 890ddd
public:
Shinya Kitaoka 120a6e
  // TEnumProperty m_pixelSize;
Shinya Kitaoka 120a6e
  TBoolProperty m_matte;
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  PngWriterProperties();
shun-iwasawa e87e08
  void updateTranslation() override;
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//===========================================================================
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
Tiio::Reader *makePngReader();
Toshihiro Shimizu 890ddd
Tiio::Writer *makePngWriter();
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
}  // namespace
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif