How to perform a similar operation as AffineTransformOp.filter on Android?
<p><code>public final BufferedImage filter(BufferedImage src, BufferedImage dst)</code></p>

<blockquote>
  <blockquote>
    <p>Transforms the source <code>BufferedImage</code> and stores the results 
    in the destination <code>BufferedImage</code>.<br>
    If the color models for the two images do not match, a color
    conversion into the destination color model is performed.
    If the destination image is <code>null</code>, a <code>BufferedImage</code> is created with the source 
    <code>ColorModel</code>.
    The coordinates of the rectangle returned by 
    <code>getBounds2D(BufferedImage)</code> are not necessarily the same as the coordinates of the 
    <code>BufferedImage</code> returned by this method. If the upper-left corner coordinates
    of the rectangle are negative then this part of the rectangle is not drawn. If the
    upper-left corner coordinates of the  rectangle are positive then the filtered image is<br>
    drawn at that position in the destination <code>BufferedImage</code>.</p>
  </blockquote>
</blockquote>

<p>I had the following code on Java 1.6:</p>

<pre><code>//Make image always std_height tall
double scaleAmount = (double) std_height / (double) characterImage.getHeight();
AffineTransform tx = new AffineTransform();
tx.scale(scaleAmount, scaleAmount);
AffineTransformOp op = new AffineTransformOp(tx, AffineTransformOp.TYPE_BILINEAR);
characterImage = op.filter(characterImage, null);
</code></pre>

<p>In Android, i'm using Matrix instead of AffineTransform:</p>

<pre><code>//Make image always std_width wide
float scaleAmount = (float) std_width / (float) characterImage.getWidth();
//AffineTransform tx = new AffineTransform();
//tx.scale(scaleAmount, scaleAmount);
Matrix mx = new Matrix();
mx.setScale(scaleAmount, scaleAmount);
//AffineTransformOp op = new AffineTransformOp(tx, AffineTransformOp.TYPE_BILINEAR); //Can't use this on Android
//characterImage = op.filter(characterImage, null); //Can't use this on Android
</code></pre>

<p>My problem is with the last two commented lines. Can i do something like it on Android? Thanks.</p>
