I have chromecast custom receiver application that just show photo. When I use photo size 2 mb it works, when photo 20 mb, custom receiver is crashes. I use chromecast ultra.
Addition: Actually it depends on image resolution, not size. If resolution more then 7000 by width or heigh custom receiver crashes. Ratio doesn't matter
Here's what's on the documentation:
So you clearly have exceeded the limitation.