title: Generate thumbnail and fill empty space with color
body: <p>Is it possible to implement the <a href="http://www.imagemagick.org/Usage/resize/#space_fill" rel="nofollow noreferrer">first example</a> with Scalr?</p>
  
  <p>My code is the following:</p>
  
  <pre><code>BufferedImage thumbnail = Scalr.resize(ImageIO.read(sourceFile), Scalr.Method.ULTRA_QUALITY, Scalr.Mode.FIT_TO_WIDTH,
                  width, height, Scalr.OP_ANTIALIAS);
  ImageIO.write(thumbnail, destinationfile.getExtension(), destinationfile);
  </code></pre>
  
  <p>What I want is to receive the image like this: 
  <img src="https://i.stack.imgur.com/URk2o.jpg" alt="enter image description here"> where the blue bars are the space I want to fill with the color.</p>
  
  <p>Thank you</p>
  
  <p>Update: maybe it is possible to implement with <a href="https://code.google.com/p/thumbnailator/" rel="nofollow noreferrer">Thumbnailator</a>?</p>