Skip to content
Myr

stb_image: compile as C; stb_image_write: credits

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sean Barrett · committed by Sean Barrett · parent faf08e0 · Browse files · 2 files+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−1 removed

  • other:+3 added−1 removed

2 files+3 added−1 removed

modified:stb_image_write.h+1 added
130 unmodified lines
131 Filip Wasil132 Thatcher Ulrich133 github:poppolopoppo134 Patrick Boettcher135 github:xeekworx136 137LICENSE138139 See end of file for license information.
1416 unmodified lines
modified:stb_image.h+2 added-1 removed
1234 unmodified lines
12351236#ifndef STBI_NO_GIF1237STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp)1238{1239 unsigned char *result;1240 stbi__context s; 1241 stbi__start_mem(&s,buffer,len); 1242 1242 unsigned char *result = (unsigned char*) stbi__load_gif_main(&s, delays, x, y, z, comp, req_comp);1243 result = (unsigned char*) stbi__load_gif_main(&s, delays, x, y, z, comp, req_comp);1244 if (stbi__vertically_flip_on_load) {1245 stbi__vertical_flip_slices( result, *x, *y, *z, *comp ); 1246 }1247
6206 unmodified lines