Other Alias
lqr_carver_scan_line_extSYNOPSIS
#include <lqr.h>
-
gboolean lqr_carver_scan_line(LqrCarver* carver, gint* n, guchar** rgb);
- gboolean lqr_carver_scan_line_ext(LqrCarver* carver, gint* n, void** rgb);
DESCRIPTION
The first one must only be used on the LqrCarver objects created with lqr_carver_new, i.e. with 8-bit images, while the second one is general, but the rgb pointer must be cast to the appropriate type to be used (i.e pass the address of a pointer to void to the function lqr_carver_scan_line_ext, then cast it to a pointer of the appropriate type and use this last one for reading the output).
Use the function lqr_carver_scan_by_row(3) before calling these to know whether your image will be scanned by row or by column.
RETURN VALUE
These functions return TRUE in case the readout is successful and the end of the image was not reached, FALSE otherwise. If lqr_carver_scan_line is called over a non-8-bit LqrCarver object, it will return FALSE.
COPYRIGHT
Copyright © 2007-2009 Carlo Baldassi