fn preview_canvas(canvas: (u32, u32), quality: u32) -> (u32, u32)
Preview render size for a pane of canvas px at quality percent (25..100). Zero stays zero (nothing to render), and the aspect ratio is kept.
canvas
quality