1 | #pragma once |
---|---|
2 | |
3 | #include <string> |
4 | #include <vector> |
5 | |
6 | namespace taichi { |
7 | |
8 | void imwrite(const std::string &filename, |
9 | size_t ptr, |
10 | int resx, |
11 | int resy, |
12 | int comp); |
13 | std::vector<size_t> imread(const std::string &filename, int comp); |
14 | |
15 | } // namespace taichi |
16 |