title: Skimage : rotate image and fill the new formed background
body: <p>When rotating an image using</p>
  
  <pre><code>import skimage
  
  result = skimage.transform.rotate(img, angle=some_angle, resize=True)
  # the result is the rotated image with black 'margins' that fill the blanks
  </code></pre>
  
  <p>The algorithm rotates the image but leaves the newly formed background black and there is no way - using the rotate function - to choose the color of the newly formed background.</p>
  
  <p>Do you have any idea how to do choose the color of the background before rotating an image?</p>
  
  <p>Thank you.</p>