private Sprite preparePlaceholder(Sprite original){
  if ((original == null) || (TransparencyMode.TRANSPARENCY == Transparency.BITMASK)) {
    return original;
  }
  BufferedImage img=new BufferedImage(original.getWidth(),original.getHeight(),BufferedImage.TYPE_INT_ARGB);
  Graphics g=img.createGraphics();
  original.draw(g,0,0);
  RescaleOp rescaleOp=new RescaleOp(new float[]{3.0f,3.0f,3.0f,0.5f},new float[]{-450f,-450f,-450f,0f},null);
  rescaleOp.filter(img,img);
  g.dispose();
  return new ImageSprite(img);
}

private Sprite preparePlaceholder ( Sprite original ) { if ( ( original == null ) || ( TransparencyMode . TRANSPARENCY == Transparency . BITMASK ) ) { return original ; } BufferedImage img = new BufferedImage ( original . getWidth ( ) , original . getHeight ( ) , BufferedImage . TYPE_INT_ARGB ) ; Graphics g = img . createGraphics ( ) ; original . draw ( g , 0 , 0 ) ; RescaleOp rescaleOp = new RescaleOp ( new float [ ] { 3.0f , 3.0f , 3.0f , 0.5f } , new float [ ] { - 450f , - 450f , - 450f , 0f } , null ) ; rescaleOp . filter ( img , img ) ; g . dispose ( ) ; return new ImageSprite ( img ) ; }
prepare a version of the place holder sprite , that is suitable for the transparency mode of the client .
