Code: Select all
gflAutoCrop(BMP, NULL, NULL, 85);
When using
Code: Select all
GFL_COLOR c;
gflGetColorAt(BMP, 0, 0, &c);
gflAutoCrop(BMP, NULL, &c, 85);
Documentation suggest that this is exactly what gflAutoCrop is doing when calling it with color = NULL...
Didn't test with other platforms/compilers however...