// Single-translation-unit stb implementation.
// All other TUs must include stb_image / stb_image_write WITHOUT defining
// the implementation macros.

#ifdef _MSC_VER
#  pragma warning(push)
#  pragma warning(disable: 4244 4996 4100)
#endif

#define STB_IMAGE_IMPLEMENTATION
#define STB_IMAGE_WRITE_IMPLEMENTATION
#define STBI_ONLY_PNG
#define STBI_ONLY_JPEG

#include <stb_image.h>
#include <stb_image_write.h>

#ifdef _MSC_VER
#  pragma warning(pop)
#endif
