2022-06-21 13:26:23 +00:00
|
|
|
#ifndef ENGINE_GFX_IMAGE_MANIPULATION_H
|
|
|
|
#define ENGINE_GFX_IMAGE_MANIPULATION_H
|
2020-11-18 06:36:19 +00:00
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
void DilateImage(unsigned char *pImageBuff, int w, int h, int BPP);
|
2020-10-26 16:05:57 +00:00
|
|
|
void DilateImageSub(unsigned char *pImageBuff, int w, int h, int BPP, int x, int y, int sw, int sh);
|
2020-11-18 06:36:19 +00:00
|
|
|
|
|
|
|
// returned pointer is allocated with malloc
|
2022-01-22 13:12:59 +00:00
|
|
|
uint8_t *ResizeImage(const uint8_t *pImageData, int Width, int Height, int NewWidth, int NewHeight, int BPP);
|
2020-11-18 06:36:19 +00:00
|
|
|
|
|
|
|
int HighestBit(int OfVar);
|
|
|
|
|
2022-06-21 13:26:23 +00:00
|
|
|
#endif // ENGINE_GFX_IMAGE_MANIPULATION_H
|