No there isn’t. You could obviously use MIXER to do it (creating something that will do the calculations for you) - or you could create a HTML file to load images with something like this:
<!doctype html>
<html>
<head>
<style>
html, body { background: transparent; margin: 0; padding: 0; width: 100vw; height: 100vh; }
body { display: flex; justify-content: center; align-items: center; }
img { flex: 1 1 auto; width: 100%; max-width: 80vw; max-height: 80vh; object-fit: contain; visibility: none; }
/* max-width and max-height to follow your safe area */
.loaded { visibility: visible; }
</style>
<script>
function update(i) {
var img = document.getElementById('img');
img.classList.remove('loaded'); // Hide image if you are loading a new one with update
img.src = i;
img.onload = function(){ this.classList.add('loaded'); };
}
function play() {}
</script>
</head>
<body>
<img id="img">
</body></html>