1. A method, comprising: partitioning, by a system comprising a processing device, a two-dimensional (2-D) array of pixels into at least 3 pixel by at least 3 pixel blocks, wherein pixels of a block of the at least 3pixel by at least 3 pixel blocks comprise at least 3 subpixels; alternately down-sampling selected subpixels of the pixels of the block in a diagonal direction; and generating an image based on a result of the alternately sampling the selected subpixels.