title: Is there a way to scale down a BufferedImage
body: <p>I've tried using affine transform to scale down a BufferedImage, But I only manage to scale up the image and not make it smaller like I need to.</p>
  
  <p>Here's my scale up code.</p>
  
  <pre><code>public BufferedImage Scale(){
      BufferedImage after = new BufferedImage(before.getWidth(), before.getHeight(), BufferedImage.TYPE_INT_ARGB);
      AffineTransform at = new AffineTransform();
      at.scale(-2.0, -2.0);
      AffineTransformOp scale = new AffineTransformOp(at, AffineTransformOp.TYPE_BILINEAR);
      after = scale.filter(before, after);
      return after;
  }
  </code></pre>