1. A method comprising: partitioning a two-dimensional (2-D) array of pixels into 2-D blocks of pixels; alternately sampling subpixels of a block of pixels of the 2-D blocks of pixels in a diagonal direction; and generating an image based on a result of the alternately sampling the subpixels of the block of pixels.