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).