bmpread.hpp (285B)
1 // Copyright 2019-2021 Mohammad-Reza Nabipoor 2 // SPDX-License-Identifier: Apache-2.0 3 4 #pragma once 5 6 #include <cstdint> 7 #include <string> 8 #include <vector> 9 10 std::vector<uint8_t> 11 bmpread(const std::string& input_bmp_name, 12 int* width, 13 int* height, 14 int* channels);