Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "tiio_jpg.h"
Toshihiro Shimizu 890ddd
#include "tiio_bmp.h"
Toshihiro Shimizu 890ddd
#include "tiio_std.h"
Toshihiro Shimizu 890ddd
#include "tfiletype.h"
Toshihiro Shimizu 890ddd
#include "tflash.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
using namespace Tiio;
Toshihiro Shimizu 890ddd
using namespace TFileType;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
void Tiio::defineStd()
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
	defineReaderMaker("jpg", Tiio::makeJpgReader);
Toshihiro Shimizu 890ddd
	defineWriterMaker("jpg", Tiio::makeJpgWriter, true);
Toshihiro Shimizu 890ddd
	declare("jpg", TFileType::RASTER_IMAGE);
Toshihiro Shimizu 890ddd
	defineWriterProperties("jpg", new JpgWriterProperties());
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	defineReaderMaker("bmp", Tiio::makeBmpReader);
Toshihiro Shimizu 890ddd
	defineWriterMaker("bmp", Tiio::makeBmpWriter, true);
Toshihiro Shimizu 890ddd
	declare("bmp", TFileType::RASTER_IMAGE);
Toshihiro Shimizu 890ddd
	defineWriterProperties("bmp", new BmpWriterProperties());
Toshihiro Shimizu 890ddd
}