mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-13 12:19:13 +00:00
1
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose: png functions
|
||||
//
|
||||
//=============================================================================
|
||||
|
||||
#include "tier0/platform.h"
|
||||
#include "tier1/utlbuffer.h"
|
||||
|
||||
// Get dimensions out of PNG header
|
||||
bool GetPNGDimensions( const byte *pubPNGData, int cubPNGData, uint32 &width, uint32 &height );
|
||||
|
||||
// parses out a png file into an RGBA memory buffer
|
||||
bool ConvertPNGToRGBA( const byte *pubPNGData, int cubPNGData, CUtlBuffer &bufOutput, int &width, int &height );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user