BLT-With-Graphics-Template/include/blt/gfx/stb/stb_image.h

1 line
1.6 MiB
C
Raw Normal View History

2023-12-17 15:04:57 -05:00
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":"data","path":"data","contentType":"directory"},{"name":"deprecated","path":"deprecated","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"stb_image_resize_test","path":"stb_image_resize_test","contentType":"directory"},{"name":"tests","path":"tests","contentType":"directory"},{"name":"tools","path":"tools","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"stb_c_lexer.h","path":"stb_c_lexer.h","contentType":"file"},{"name":"stb_connected_components.h","path":"stb_connected_components.h","contentType":"file"},{"name":"stb_divide.h","path":"stb_divide.h","contentType":"file"},{"name":"stb_ds.h","path":"stb_ds.h","contentType":"file"},{"name":"stb_dxt.h","path":"stb_dxt.h","contentType":"file"},{"name":"stb_easy_font.h","path":"stb_easy_font.h","contentType":"file"},{"name":"stb_herringbone_wang_tile.h","path":"stb_herringbone_wang_tile.h","contentType":"file"},{"name":"stb_hexwave.h","path":"stb_hexwave.h","contentType":"file"},{"name":"stb_image.h","path":"stb_image.h","contentType":"file"},{"name":"stb_image_resize2.h","path":"stb_image_resize2.h","contentType":"file"},{"name":"stb_image_write.h","path":"stb_image_write.h","contentType":"file"},{"name":"stb_include.h","path":"stb_include.h","contentType":"file"},{"name":"stb_leakcheck.h","path":"stb_leakcheck.h","contentType":"file"},{"name":"stb_perlin.h","path":"stb_perlin.h","contentType":"file"},{"name":"stb_rect_pack.h","path":"stb_rect_pack.h","contentType":"file"},{"name":"stb_sprintf.h","path":"stb_sprintf.h","contentType":"file"},{"name":"stb_textedit.h","path":"stb_textedit.h","contentType":"file"},{"name":"stb_tilemap_editor.h","path":"stb_tilemap_editor.h","contentType":"file"},{"name":"stb_truetype.h","path":"stb_truetype.h","contentType":"file"},{"name":"stb_vorbis.c","path":"stb_vorbis.c","contentType":"file"},{"name":"stb_voxel_render.h","path":"stb_voxel_render.h","contentType":"file"}],"totalCount":32}},"fileTreeProcessingTime":5.079887,"foldersToFetch":[],"reducedMotionEnabled":null,"repo":{"id":20159867,"defaultBranch":"master","name":"stb","ownerLogin":"nothings","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2014-05-25T16:51:23.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/7525026?v=4","public":true,"private":false,"isOrgOwned":false},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1625178638.233396","canEdit":false,"refType":"branch","currentOid":"f4a71b13373436a2866c5d68f8f80ac6f0bc1ffe"},"path":"stb_image.h","currentUser":null,"blob":{"rawLines":["/* stb_image - v2.29 - public domain image loader - http://nothings.org/stb"," no warranty implied; use at your own risk",""," Do this:"," #define STB_IMAGE_IMPLEMENTATION"," before you include this file in *one* C or C++ file to create the implementation.",""," // i.e. it should look like this:"," #include ..."," #include ..."," #include ..."," #define STB_IMAGE_IMPLEMENTATION"," #include \"stb_image.h\"",""," You can #define STBI_ASSERT(x) before the #include to avoid using assert.h."," And #define STBI_MALLOC, STBI_REALLOC, and STBI_FREE to avoid using malloc,realloc,free","",""," QUICK NOTES:"," Primarily of interest to game developers and other people who can"," avoid problematic images and only need the trivial interface",""," JPEG baseline & progressive (12 bpc/arithmetic not supported, same as stock IJG lib)"," PNG 1/2/4/8/16-bit-per-channel",""," TGA (not sure what subset, if a subset)"," BMP non-1bpp, non-RLE"," PSD (composited view only, no extra channels, 8/16 bit-per-channel)",""," GIF (*comp always reports