Get configuration by scanning the image