title: Java - I need a very fast image scaling algorithm
body: <p>I am working on a Midlet application. I am finding myself in the need to scale images very often. This has become a problem because some phones are pretty slow and scaling takes too long.</p>
  
  <p>Currently I'm using Image.createRGBImage(int, int, int, boolean) to scale the image.</p>
  
  <p>I was wondering if any of you knew of a very efficient and fast way to scale an image.</p>
  
  <p><strong>Note:</strong> this is a Midlet application so only JavaME is available, meaning I don't have access to some other libraries available in the full java version.</p>
  
  <p><strong>Note2:</strong> most of my scaling is done from small to large images, although I also do scale down the image.</p>