# snapshotCreate

`import { snapshotCreate } from "destack:runtime";`

Export one snapshot from one image.

```ds title="snapshotCreate"
export declare function snapshotCreate(world: WorldHandle, imageId: ImageId, format: SnapshotFormat): Result<SnapshotId, HostError>
```

[language/library/src/runtime/snapshot.ds:47:51](https://github.com/destack-sh/destack/blob/main/language/library/src/runtime/snapshot.ds#L47-L51)
