1#ifndef ENGINE_GFX_IMAGE_MANIPULATION_H
2#define ENGINE_GFX_IMAGE_MANIPULATION_H
3
4#include <cstdint>
5
6// These functions assume that the image data is 4 bytes per pixel RGBA
7void DilateImage(uint8_t *pImageBuff, int w, int h);
8void DilateImageSub(uint8_t *pImageBuff, int w, int h, int x, int y, int sw, int sh);
9
10// returned pointer is allocated with malloc
11uint8_t *ResizeImage(const uint8_t *pImageData, int Width, int Height, int NewWidth, int NewHeight, int BPP);
12
13int HighestBit(int OfVar);
14
15#endif // ENGINE_GFX_IMAGE_MANIPULATION_H
16