resonance 1.0.1
Loading...
Searching...
No Matches
avatar.h File Reference
#include <cstdint>
#include <optional>
#include <string>
#include <vector>
Include dependency graph for avatar.h:

Go to the source code of this file.

Namespaces

namespace  Tools
 Host tools that the build runs.
namespace  Tools::CreditsAvatar
 Generator of the credits avatar header.

Functions

std::optional< std::vector< std::uint8_t > > Tools::CreditsAvatar::fetchAvatar (const std::string &user, int size, const std::string &magick)
 Fetch a GitHub avatar over HTTPS and convert it to RGBA texels with ImageMagick.