1.use NSBitmapImageRep to get width and height; 2.add tile info