Respect maxCanvasPixels
when computing canvas dimensions
#18218
Merged
Loading