Package peppy :: Package plugins :: Module image_mode
[frames] | no frames]

Module image_mode

Major mode for viewing images. This mode leaves the image in its native format, so only non-destructive operations are available. This set of operations would include affine transformations (rotations, translations, reflections, skews, etc.), cropping, color map changes, and potentially others; but not pixel-level operations. This is because the data is left in the buffer in the file format's native byte structure.

In order to edit pixels the image would have to be decompressed into raw pixels, which is a different purpose than this viewer. Pixel editing will be left to a different major mode.

Classes
  OpenImageViewer
Test action to open a sample image file.
  ImageActionMixin
  ZoomIn
  ZoomOut
  RectangularSelect
  ImageViewMode
Major mode for viewing images.
  ImageViewPlugin
Image viewer plugin that registers the major mode and supplies the user interface actions so we can use the mode.
Variables
  EVT_CROSSHAIR_MOTION = <wx._core.PyEventBinder object at 0x632...
  EVT_RUBBERBAND_MOTION = <wx._core.PyEventBinder object at 0x63...
  EVT_RUBBERBAND_SIZE = <wx._core.PyEventBinder object at 0x6323...
Variables Details

EVT_CROSSHAIR_MOTION

Value:
<wx._core.PyEventBinder object at 0x6323810>

EVT_RUBBERBAND_MOTION

Value:
<wx._core.PyEventBinder object at 0x6323890>

EVT_RUBBERBAND_SIZE

Value:
<wx._core.PyEventBinder object at 0x6323850>