Hi fearless, LiaoMi
Thank you very much for your information. I'll try it 
Biterider
You will need to disable all the variables of the standard library (stdio.h), change the configuration of the library itself
#undef PNG_STDIO_SUPPORTED
#ifdef PNG_STDIO_SUPPORTED
/* Required for the definition of FILE: */
//# include <stdio.h>
#endif
Enable options in the main files
#define _NO_CRT_STDIO_INLINE
#define WIN32_LEAN_AND_MEAN
Turn on /NODEFAULTLIB
Disable all unnecessary options of the visual studio
Write stubs for some rare features (_ftol2_sse())
After that, you will have a small set of APIs that can be used separately through imports
