Haio 0.2.X
Homebrew Asset IO/CDN
Loading...
Searching...
No Matches
haio_transform.hpp File Reference
#include "haio_codec.hpp"
#include <algorithm>
#include <stdexcept>
Include dependency graph for haio_transform.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Haio

Functions

template<Color P>
Image< P > Haio::withPixels (const Image< P > &from, int width, int height, std::vector< uint8_t > pixels)
template<Color P>
requires Addressable<P>
Image< P > Haio::cropImage (const Image< P > &image, Rect rect)
template<Color P>
requires Addressable<P>
Image< P > Haio::resizeImage (const Image< P > &image, Size size)
template<Color P>
requires Maskable<P>
Image< P > Haio::roundImageCorners (const Image< P > &image, int radius)