Verify for image width and height prefixes' correctness