Added new algorithm for blank detection on color pages