extended image search to ppm files