Name

lqr_carver_set_preserve_input_image — set a flag to preserve the buffer passed to a LqrCarver object upon creation

Synopsis

#include <lqr.h>
void lqr_carver_set_preserve_input_image(LqrCarver* carver);
 

Description

The function lqr_carver_set_preserve_input_image flags the LqrCarver object pointed to by carver so that it does not alter in any way the buffer which is passed to it by the constructor. It must be used before any resizing-related operation takes place, either after the carver construction or after the calls to lqr_carver_init(3) or lqr_vmap_load(3).

See also

lqr_carver_init(3), lqr_vmap_load(3), lqr_carver_set_enl_step(3), lqr_carver_set_resize_order(3), lqr_carver_set_dump_vmaps(3), lqr_carver_set_side_switch_frequency(3), lqr_carver_set_progress(3), lqr_carver_set_use_cache(3)