1// 2// Copyright 2020 The ANGLE Project Authors. All rights reserved. 3// Use of this source code is governed by a BSD-style license that can be 4// found in the LICENSE file. 5// 6// png_utils: Wrapper around libpng. 7// 8 9#ifndef UTIL_PNG_UTILS_H_ 10#define UTIL_PNG_UTILS_H_ 11 12#include <cstdint> 13#include <vector> 14 15namespace angle 16{ 17bool SavePNGRGB(const char *fileName, 18 const char *title, 19 uint32_t width, 20 uint32_t height, 21 const std::vector<uint8_t> &rgbData); 22} // namespace angle 23 24#endif // UTIL_PNG_UTILS_H_ 25 26