im_makerw(3)

im_makerw3

Make an image writeable

Usage

#include <vips/vips.h>

int im_makerw( image )
IMAGE *image;

Overview

im_makerw(3) attempts to make image writeable, ready for an in-place operation. Its actions are just as those for im_incheck(3), except that descriptors which after im_incheck(3) end up as IM_MMAPIN descriptors, magically become IM_MMAPINRW descriptors.

Extreme caution is urged! You can permanently damage valuable data with this call.

Return value

The function returns 0 on success and -1 on error.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

Author

J. Cupitt

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.