1. A method of rotating a digital image using a processor, the method comprising: performing a first pass, comprising: copying a set of pixels from a source memory location to a first memory location, wherein the set of pixels comprises a portion of the digital image; grouping the set of pixels into a block of pixels using the processor; and writing the block of pixels to a temporary memory location; and performing a second pass, comprising: copying at least a portion of the block of pixels from the temporary memory location to a second memory location; regrouping at least a portion of the block of pixels using the processor to form a regrouped block of pixels; and writing the regrouped block of pixels to a destination memory location, the regrouped block of pixels comprising at least of a portion of a rotated digital image.