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:
2634
thirdparty/stb_image/stb_image_resize.h
vendored
Normal file
2634
thirdparty/stb_image/stb_image_resize.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2
thirdparty/stb_image/stbi.c
vendored
2
thirdparty/stb_image/stbi.c
vendored
@ -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);
|
||||
|
Reference in New Issue
Block a user