SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
vtfpp::ImageQuantize Namespace Reference

Functions

std::vector< std::byte > convertP8ImageDataToBGRA8888 (std::span< const std::byte > paletteData, std::span< const std::byte > imageData)
 Converts a paletted image to something usable.
 

Function Documentation

◆ convertP8ImageDataToBGRA8888()

std::vector< std::byte > vtfpp::ImageQuantize::convertP8ImageDataToBGRA8888 ( std::span< const std::byte >  paletteData,
std::span< const std::byte >  imageData 
)

Converts a paletted image to something usable.

Definition at line 5 of file ImageQuantize.cpp.