Issue #25: Color image is wrongly formed because the step field is not set