Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

DynamicImage

DynamicImage[image]
displays a dynamic version of image, supporting panning, zooming, etc.

DynamicImage[file]
displays a dynamic version of the image stored in file.

DynamicImage[url]
displays a dynamic version of the image stored in url.

Details and OptionsDetails and Options

  • DynamicImage creates a viewer with controls for zooming, panning, and scrolling, useful for examining details of large images.
  • DynamicImage works with Image objects, as well as any supported image file format.
  • In DynamicImage[file], file can be specified as a string or as a File object.
  • DynamicImage[file] tries to read only necessary parts of file when working with TIFF, JPEG, and PNG.
  • In DynamicImage[url], url can be specified as a string or as a URL object.
  • DynamicImage has the same options as Pane, with the following additions and changes:
  • AppearanceElementsAutomaticcontrols to show on the dynamic image
    AspectRatioAutomaticcontrols the aspect ratio of the dynamic image
    Epilog{}graphics primitives to render on the image
    ImageSizeAutomaticdisplayed size of the image
    SaveDefinitionsFalsesave entire image in the dynamic expression
    ZoomCenterAutomaticposition of the center of the displayed image
    ZoomFactorAutomaticratio between displayed and original pixel size
  • Available elements for AppearanceElements are:
  • "Pan"panning using mouse drag
    "ResizeArea"add a resize area to the bottom right
    "Scrollbars"scrollbars with additional zoom knobs at the ends
    "Thumbnail"small preview of the entire image
    "ZoomButtons"buttons to zoom in and out
    "Zoom"zooming using Shift and vertical mouse drag
  • Groups of appearance elements can be selected using one of the following:
  • Allall appearance elements
    Automaticautomatically selected appearance elements
    Noneno appearance elements
  • Use Setting on the output of DynamicImage to access the displayed subimage.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Dynamically view an image:

In[1]:=
Click for copyable input
Out[2]=

Dynamically view a large out-of-core file:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2016
(10.4)
| Updated in 2016
(11.0)