---
name: "DeleteImg"
section: "3"
platform: "macos"
package: "tcl"
version: "152"
release: "macOS 26.5"
platforms: ["macos"]
url: "https://new.carta.tech/DeleteImg/3"
---

# DeleteImg(3)

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
