RAPP Platform API
 All Classes Namespaces Files Functions Variables Typedefs
picture_example.cpp
Go to the documentation of this file.
2 #include <memory>
6 int main(int argc, char * argv[])
7 {
8  if (argc == 2)
9  {
10  std::string file(argv[1]);
11  // Open picture.
12  auto pic = rapp::object::picture(file);
13  pic.save("copy_of_"+file);
14  std::cout << "Picture is a " << pic.type() << std::endl;
15  }
16  return 0;
17 }
class which wraps around raw bytes of a picture
Definition: picture.hpp:13
int main(int argc, char *argv[])