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.
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 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 files in 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: [List of all options]
-
- Available elements for AppearanceElements are:
-
"Pan" panning using mouse drag"ResizeArea" 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 and vertical mouse drag
- Groups of appearance elements can be selected using one of the following:
-
All all appearance elementsAutomatic automatically selected appearance elementsNone no appearance elements
- Use Setting on the output of DynamicImage to access the displayed subimage.
-
ImageMargins 0 margins to add outside the display area
List of all options
Examples
open all close allBasic Examples (2)
Dynamically view an image:
Dynamically view a large out-of-core file:
Options (6)
AppearanceElements (1)
By default, an automatic set of appearance elements is displayed:
Specify appearance elements:
Show all available appearance elements:
AspectRatio (2)
By default, an automatic aspect ratio is used:
Specify a fixed aspect ratio:
Changing the size of the viewer with a fixed aspect ratio will preserve the aspect ratio:
ImageSize (1)
By default, an automatic size is used:
Specify the initial size:
ZoomCenter (1)
By default, the image is center aligned with the dynamic image viewer:
Specify the alignment:
Use an explicit coordinate as the zoom center:
ZoomFactor (1)
By default, the larger dimension of the image fits into the display size:
Specify the zoom factor:
Use ZoomFactor->1 to get the original image size:
Magnify the image using zoom factors greater than 1:
Applications (2)
Couple external controls with DynamicImage :
Investigate two images in parallel:
Interactive Examples (1)
Draw interactive graphics primitives on top of an image:
See Also
Text
Wolfram Research (2016), DynamicImage, Wolfram Language function, https://reference.wolfram.com/language/ref/DynamicImage.html (updated 2017).
CMS
Wolfram Language. 2016. "DynamicImage." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2017. https://reference.wolfram.com/language/ref/DynamicImage.html.
APA
Wolfram Language. (2016). DynamicImage. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DynamicImage.html
BibTeX
@misc{reference.wolfram_2025_dynamicimage, author="Wolfram Research", title="{DynamicImage}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/DynamicImage.html}", note=[Accessed: 18-November-2025]}
BibLaTeX
@online{reference.wolfram_2025_dynamicimage, organization={Wolfram Research}, title={DynamicImage}, year={2017}, url={https://reference.wolfram.com/language/ref/DynamicImage.html}, note=[Accessed: 18-November-2025]}