SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
ImageQuantize.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
ImageConversion.h
"
4
5
namespace
vtfpp::ImageQuantize
{
6
8
[[nodiscard]] std::vector<std::byte>
convertP8ImageDataToBGRA8888
(std::span<const std::byte> paletteData, std::span<const std::byte> imageData);
9
10
}
// namespace vtfpp::ImageQuantize
ImageConversion.h
vtfpp::ImageQuantize
Definition:
ImageQuantize.h:5
vtfpp::ImageQuantize::convertP8ImageDataToBGRA8888
std::vector< std::byte > convertP8ImageDataToBGRA8888(std::span< const std::byte > paletteData, std::span< const std::byte > imageData)
Converts a paletted image to something usable.
Definition:
ImageQuantize.cpp:5
include
vtfpp
ImageQuantize.h
Generated by
1.9.6