ネームスペース | 関数
png.h

PNG画像を読み書きするためのライブラリ [詳細]

#include "../mist.h"
#include "../config/color.h"
#include "../limits.h"
#include <string>
#include <png.h>

ソースコードを見る。

ネームスペース

namespace  mist

関数

template<class T , class Allocator >
bool mist::read_png (array2< T, Allocator > &image, const std::string &filename)
 PNG画像をMISTコンテナに読み込む
template<class T , class Allocator >
bool mist::read_png (array2< T, Allocator > &image, const std::wstring &filename)
 PNG画像をMISTコンテナに読み込む
template<class T , class Allocator >
bool mist::write_png (const array2< T, Allocator > &image, const std::string &filename, int compression_level=6)
 MISTコンテナの画像をPNG形式でファイルに出力する
template<class T , class Allocator >
bool mist::write_png (const array2< T, Allocator > &image, const std::wstring &filename, int compression_level=6)
 MISTコンテナの画像をPNG形式でファイルに出力する

説明

PNG画像を読み書きするためのライブラリ

本ライブラリは,http://www.libpng.org/pub/png/ , http://www.libpng.org/ で開発が行われている libpng を利用している エンコードとデコードは本ライブラリのAPIを用いて実装されているため,別途ライブラリを用意する必要がある


Generated on Wed Nov 12 2014 19:44:28 for MIST by doxygen 1.8.1.2