printf("Size of bufSize is %zu bytes\n", bufSize);
printf("Size of result.width is %zu \n", result.width);
printf("Size of result.height is %zu \n", result.height);
printf("Size of bufSize is %zu bytes\n", bufSize);
printf("Size of result.width is %zu \n", result.width);
printf("Size of result.height is %zu \n", result.height);