added a utility for building large image data.