What causes “ERROR: Could not convert image for form page:” when generating pattern?