1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

stbi: add a resize_uint8 function for resizing images in memory (#18484)

This commit is contained in:
Casper Kuethe
2023-06-19 17:14:26 +02:00
committed by GitHub
parent a3f24caffc
commit 2bedb6ffd7
4 changed files with 2694 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
#define STB_IMAGE_IMPLEMENTATION
#define STB_IMAGE_WRITE_IMPLEMENTATION
#define STB_IMAGE_RESIZE_IMPLEMENTATION
#include <stddef.h>
@@ -16,6 +17,7 @@ extern void stbi__callback_free(void *ptr);
#include "stb_image.h"
#include "stb_image_write.h"
#include "stb_image_resize.h"
/*
void set_png_compression_level(int level);