pub fn preview_size(width: u32, height: u32) -> (u32, u32)
Size of the stored preview: the canvas halved until it fits in 2048 pixels (as in CSP’s files).