2007-08-29 18:23:50 +02:00
|
|
|
.TH IM_INVALIDATE 3 "5 December 2006"
|
|
|
|
.SH NAME
|
|
|
|
im_invalidate \- flush caches related to an image
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B #include <vips/vips.h>
|
|
|
|
|
|
|
|
.B void im_invalidate( IMAGE *im )
|
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.B im_invalidate(3)
|
|
|
|
marks all caches related to the image as invalid and requring recalculation.
|
|
|
|
It needs to be called if an image changes after being made: for example, after
|
|
|
|
a paint action, or perhaps after a new frame has arrived from a video source.
|
|
|
|
|
2008-07-02 16:35:21 +02:00
|
|
|
Any invalidate callbacks registered on any of the affected images are
|
|
|
|
triggered.
|
|
|
|
|
2007-08-29 18:23:50 +02:00
|
|
|
.SH SEE\ ALSO
|
2008-07-02 16:35:21 +02:00
|
|
|
im_prepare(3), im_region_buffer(3), im_add_invalidate_callback(3).
|