public void FadeImage(BufferedImage srcImage, BufferedImage destImage,int scale)
{
int width = srcImage.getWidth();
int height = srcImage.getHeight();
int alpha=0;
int oldpix = 0;
int newpix = 0;
int ired;
int igreen;
int iblue;
for (int i=0; i < height; i++)
{
for (int j=0; j < width; j++)
{