Entries from 2008-04-02 to 1 day

Boost.GILで遊んでみる

遊んでいるというか、遊んではいないんだけど。PNG画像を読み込んでアスキーアートぽく出力するサンプル。 #include <iostream> #include <boost/gil/typedefs.hpp> #include <boost/gil/extension/io/png_io.hpp> int main(int argc, char** argv) { namespace g = boost::gil; if (argc <= 1) return -1; g::rgba8_image_t img; g</boost/gil/extension/io/png_io.hpp></boost/gil/typedefs.hpp></iostream>…