Listing 5. Make the pixels partially transparent.
    width = output.getWidth();
    int height = output.getHeight();
    pixel = null;
    color = null;
    for(int col = 0;col < width;col++){
      for(int row = 0;row < height;row++){

        int basicPixel = output.getBasicPixel(col,row);

        basicPixel = basicPixel & 0x00FFFFFF;
        basicPixel = basicPixel | 0x5F000000;
        
        output.setBasicPixel(col,row,basicPixel);
        
      }//end inner loop
    }//end outer loop

    return output;
  }//end makeTransparent