Given the pixel data for the largest image, generate the full data for all mipmaps.
expand.rawdata.to.mipmaps(raw_data_mip_level0, width, height, byrow = TRUE)
integer vector or matrix, the image data for the largest mipmap.
integer, width of image for mip level 0
integer, width of image for mip level 0