Get the lowest integer for the row bytes, in case the size isn't an integer.
Merge branch 'master' into imageRep