1. A method comprising: capturing a first image with a device in a viewfinder mode; processing the first image using line buffers sized to accommodate an image width of the first image, wherein the line buffers are sized according to a viewfinder of the device such that each of the line buffers defines a line buffer width corresponding to the image width such that the line buffer width and the image width both correspond to images displayed by the viewfinder; capturing a second image with the device in a still picture mode, wherein the second image has an image width larger than the image width of the first image; and processing vertical stripes of the second image using the line buffers, wherein the vertical stripes of the second image define widths that fit into the line buffers.