Team Fortress 2 Source Code as on 22/4/2020
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.
 
 
 
 
 
 

20 lines
697 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: image functions
//
//=============================================================================
#ifndef IMAGELOADWRAPPER_H
#define IMAGELOADWRAPPER_H
#include "jpegloader.h"
#include "tgaloader.h"
#include "pngloader.h"
// Convert any supported image type (jpeg, tga) to RGB
bool ConvertImageToRGB( const byte *pubImageData, int cubImageData, CUtlBuffer &bufOutput, int &width, int &height );
// Convert any supported image type (jpeg, tga) to RGBA
bool ConvertImageToRGBA( const byte *pubImageData, int cubImageData, CUtlBuffer &bufOutput, int &width, int &height );
#endif // IMAGELOADWRAPPER_H