Optional
albumAlbum information if this image is part of a V5 album.
The virtual camera instance controlling the view for this image.
Readonly
dataSvelte Writable store holding the image's cultural data (markers, tours, text content for the current language). See Models.ImageData.ImageData.
Base path URI for fetching data.[lang].json
files.
Readonly
embedsArray of child MicrioImage instances embedded within this image.
Stores an error message if loading failed.
Grid controller instance, if this image is a grid container.
Readonly
idThe unique identifier (Micrio ID) for this image.
Readonly
infoSvelte Readable store holding the image's core information (dimensions, format, settings, etc.). See Models.ImageInfo.ImageInfo.
Stores the camera view state when a marker is opened, used to return to the previous view.
Options controlling behavior (embedding, split-screen, etc.).
Optional
area?: ViewOptional sub area [x0, y0, x1, y1] defining placement within a parent canvas (for embeds/galleries).
Optional
isIf true, this image is embedded within another image (affects rendering/camera).
Optional
isIf true, passively follows the view changes of the primary split-screen image.
Optional
secondaryFor split screen, the primary image this one is secondary to.
Optional
useIf true, uses the parent image's camera instead of creating its own (for switch/omni galleries).
Readonly
settingsSvelte Writable store holding the image's specific settings, often merged from attributes and info data. See Models.ImageInfo.Settings.
Readonly
stateState manager specific to this image instance (view, active marker, etc.). See State.Image.
Gallery swiper instance, if this image is part of a swipe gallery.
Base path for fetching image tiles.
Readonly
uuidA unique instance identifier (UUID) generated for this specific instance.
Readonly
videoSvelte Writable store holding the HTMLVideoElement if this image represents a video.
Readonly
viewportSvelte Writable store holding the calculated pixel viewport [left, top, width, height] of this image within the main canvas.
Readonly
visibleSvelte Writable store indicating if this image's canvas is currently visible and being rendered.
The global Wasm controller instance.
Adds an embedded MicrioImage (representing another Micrio image or video) within this image.
Partial info data for the embed.
The placement area [x0, y0, x1, y1]
within the parent image.
Embedding options (opacity, fit, etc.).
The newly created embedded MicrioImage instance.
Represents and controls a single Micrio image instance within the viewer. This class manages the image's metadata (info), cultural data (data), settings, camera, state, and interactions with the WebAssembly module for rendering and processing. It handles loading image tiles, embeds, markers, tours, and galleries associated with the image.
Instances are typically created and managed by the main HTMLMicrioElement.
Author
Marcel Duin marcel@micr.io