Function Blam::Utils::IO::CreateFileFromPNGResource

Function Documentation

int Blam::Utils::IO::CreateFileFromPNGResource(std::string filename, int res_id)

Creates a file with the contents pulled from the specified application PNG resource.

Return

0 on success, -1 on failure.

Parameters
  • filename: - The path to the file to create.

  • res_id: - The ID of the PNG resource to load the contents from.