# PetscDrawSave
Saves a drawn image 
## Synopsis
```
#include "petscdraw.h" 
PetscErrorCode PetscDrawSave(PetscDraw draw)
```
Collective on draw


## Input Parameters

- ***draw -*** the drawing context





## Note
this is not normally called by the user.


## See Also
 `PetscDraw`, `PetscDrawSetSave()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/interface/dsave.c.html#PetscDrawSave">src/sys/classes/draw/interface/dsave.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/impls/image/drawimage.c.html#PetscDrawSave_Image">PetscDrawSave_Image in src/sys/classes/draw/impls/image/drawimage.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/draw/interface/dsave.c)


[Index of all Draw routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
