fix: CanvasFromImage should keep the stride.