dist_perc 351 ext/gd/libgd/gd_crop.c const double dist_perc = sqrt(dist / (255^2 + 255^2 + 255^2)); dist_perc 352 ext/gd/libgd/gd_crop.c return (dist_perc <= threshold);