96: ImageBufferHelper

move some code from ImageBuffer to ImageBufferHelper