int to UInt32

Converted the width and height from the BitmapImage bi to UInt32 as is
required for OCR