to compitiable with size of image