Fix BitmapInfo stride formula - Add several diff functions