Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Gtk2::CV::ImageWindow
a window widget displaying an image or other media

Gtk2::CV::ImageWindow - a window widget displaying an image or other media


NAME

Gtk2::CV::ImageWindow - a window widget displaying an image or other media


SYNOPSIS


  use Gtk2::CV::ImageWindow;


DESCRIPTION

METHODS

$img->set_image ($gdk_pixbuf[, $type])
Replace the currently-viewed image by the given pixbuf.

$img->clear_image
Removes the current image (usually replacing it by the default image).

$img->load_image ($path)
Tries to load the given file (if it is an image), or embeds mplayer (if mplayer supports it).

$img->resize_maxpect
Resize the image so it is maximally large.

$img->resize ($width, $height)
Resize the image window to the given size.

$img->uncrop
Undo any cropping; Show the full image.

$img->crop ($x1, $y1, $x2, $y2)
Crop the image to the specified rectangle.


AUTHOR

Marc Lehmann <schmorp@schmorp.de>

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy