image finalization