We present an algorithm that creates a mosaic effect for an image in an adaptive and automatic fashion. The algorithm is automatic because it does not need user intervention, except for the choice of a couple of parameters. The algorithm is adaptive because it creates tiles whose sizes are adapted to the features of the image. This is achieved by using a centroidal Voronoi diagram with a density function that emphasizes image features.