1. A method, comprising: determining, by a system comprising a processor, a luminance gradient of a block of pixels in four directions; determining an edge direction of the block based on the luminance gradient of the block; and in response to the determining the edge direction of the block, selecting alternate subpixels of the block of pixels based on the edge direction of the block.