API Version: 8.0
Library Version: 8.18
unsigned char* vips_source_sniff ( VipsSource* source, size_t length )
Return a pointer to the first few bytes of the file. If the file is too short, return NULL.
NULL
length
size_t
Number of bytes to sniff.
guint8
A pointer to the bytes at the start of the file, or NULL on error.