---
name: "DeleteImg"
section: "2"
platform: "linux"
package: "perl-tk"
version: "b11.02-5"
release: "Debian 1.3 (Bo)"
platforms: ["linux"]
url: "https://new.carta.tech/DeleteImg"
---

# DeleteImg(2)

Destroy an image.

## NAME

Tk\_DeleteImage - Destroy an image.

## SYNOPSIS

```
#include <tk.h>

Tk_DeleteImage(interp, name)
```

## ARGUMENTS

Interpreter for which the image was created. Name of the image.

## DESCRIPTION

**Tk\_DeleteImage** deletes the image given by *interp* and *name*, if there is one.  All instances of that image will redisplay as empty regions.  If the given image does not exist then the procedure has no effect.

## KEYWORDS

delete image, image manager
