prevent double-free() on broken full-color images error handling
wchar_t file interface disabled for MinGW32 compile
wchar_t file interface disabled for MinGW32 compile