Added option to align row pitch to 32 bit boundary.