added to image processing lib