---
name: "im_openout"
section: "3"
platform: "linux"
package: "libvips-dev"
version: "7.20.7-1+b3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/im_openout"
---

# im\_openout(3)

sets an image descriptor corresponding to an output file

## NAME

im\_openout - sets an image descriptor corresponding to an output file

## SYNOPSIS

**#include \<vips/vips.h\>**

**IMAGE \*im\_openout(file\_name)**\
 **char \*file\_name;**

## DESCRIPTION

**[im\_openout(3)](/im_openout/3.md)** returns a descriptor which when written to will write pels to file\_name. This function has been replaced by [im\_open(3)](/im_open/3.md).

## RETURN VALUE

The function returns a valid image descriptor on success and NULL on error.

## SEE ALSO

[im\_open(3)](/im_open/3.md), [im\_close(3)](/im_close/3.md), [im\_mmapin(3)](/im_mmapin/3.md), im\_intro(3).

## COPYRIGHT

N. Dessipris

## AUTHOR

N. Dessipris - 22/04/1991
