output supported image formats in rundemo c++
c++11

+ use std::size_t
+ re-implement envelope() method in terms of c++11