add class ImageBuffer