struct SimpleImageOutCallback
{ ... };
void (*callback)(void*, size_t, size_t, size_t, const void*)
void* opaque