Filter API dia and png.