You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
570 B
25 lines
570 B
//
|
|
// Copyright 2020 The ANGLE Project Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
//
|
|
// png_utils: Wrapper around libpng.
|
|
//
|
|
|
|
#ifndef UTIL_PNG_UTILS_H_
|
|
#define UTIL_PNG_UTILS_H_
|
|
|
|
#include <cstdint>
|
|
#include <vector>
|
|
|
|
namespace angle
|
|
{
|
|
bool SavePNGRGB(const char *fileName,
|
|
const char *title,
|
|
uint32_t width,
|
|
uint32_t height,
|
|
const std::vector<uint8_t> &rgbData);
|
|
} // namespace angle
|
|
|
|
#endif // UTIL_PNG_UTILS_H_
|