generate some image with the right measure