TuttleOFX
1
|
00001 #include <tuttle/host/Graph.hpp> 00002 #include <tuttle/host/Node.hpp> 00003 00004 int main( int argc, char** argv ) 00005 { 00006 using namespace tuttle::host; 00007 00008 core().preload(); 00009 00010 const bool res = compute( 00011 list_of 00012 ( NodeInit("tuttle.pngreader") 00013 .setParam("filename", "data/input.png") 00014 .setParamExp("bitDepth", "32f") ) 00015 ( NodeInit("tuttle.pngwriter") 00016 .setParam("filename", "out.png") ) 00017 ); 00018 00019 if( !res ) 00020 return -1; 00021 return 0; 00022 } 00023