improve blank page detection

use multiple formats for white (incl. rgb) and also check for 100% black

[#67574168]