Optimizer:
Callback Functions
OPTIMIZEBUFFERCALLBACK
OPTIMIZEIMAGEDIRCALLBACK