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
Shinya Kitaoka 120a6e
void Tiio::defineStd() {
Shinya Kitaoka 120a6e
  defineReaderMaker("jpg", Tiio::makeJpgReader);
Shinya Kitaoka 120a6e
  defineWriterMaker("jpg", Tiio::makeJpgWriter, true);
Shinya Kitaoka 120a6e
  declare("jpg", TFileType::RASTER_IMAGE);
Shinya Kitaoka 120a6e
  defineWriterProperties("jpg", new JpgWriterProperties());
Toshihiro Shimizu 890ddd
Jeremy Bullock 2969b4
  defineReaderMaker("jpeg", Tiio::makeJpgReader);
Jeremy Bullock 2969b4
  declare("jpeg", TFileType::RASTER_IMAGE);
Jeremy Bullock 2969b4
Shinya Kitaoka 120a6e
  defineReaderMaker("bmp", Tiio::makeBmpReader);
Shinya Kitaoka 120a6e
  defineWriterMaker("bmp", Tiio::makeBmpWriter, true);
Shinya Kitaoka 120a6e
  declare("bmp", TFileType::RASTER_IMAGE);
Shinya Kitaoka 120a6e
  defineWriterProperties("bmp", new BmpWriterProperties());
Toshihiro Shimizu 890ddd
}