[][src]Function opencv::highgui::resize_window

pub fn resize_window(winname: &str, size: Size) -> Result<()>

Resizes window to the specified size

Note:

  • The specified window size is for the image area. Toolbars are not counted.
  • Only windows created without cv::WINDOW_AUTOSIZE flag can be resized.

Parameters

  • winname: Window name.
  • width: The new window width.
  • height: The new window height.

Overloaded parameters

  • winname: Window name.
  • size: The new window size.