Log metrics only for supported image formats.