Microscanning is a method for increasing resolution of digital cameras. With the color co-site sampling identically colored pixels in several frames of the specimen, obtained by moving the sensor with a piezo mechanism in a regular raster, are combined to a sharp resulting image. The detector, however, can also be translated by a fraction of the pixel pitch: this way also the interstitial space between sensor pixels gets scanned and the number of pixels in the final image is increased. Three positions on the x and y axes increase the image size by a factor of 9, for instance from the common 1388 x 1040 pixels to 4164 x 3120 pixels. The color co-site sampling used at the same time ensures correct reproduction of colors at the pixel density produced.