grayScaleImage.setPixel(j, i,
Color.rgb(grayScale, grayScale, grayScale)
);
}
}
<BUG>BitmapImage bitmapImage =
new BitmapImage(grayScaleImage);
return new ImageEntity(imageEntity.getSourceURL(),
bitmapImage);
}</BUG>
}

grayScaleImage.setPixel(j, i,
Color.rgb(grayScale, grayScale, grayScale)
);
