|
access denied exception.... while writing image
hey guys....
I was doing... my proj on steganography over images.
i used PIXELGRABBER to read RGB values of the image.
then i modified the bits and recreated the the integer pixel array.
now i want to save the pixel values as image on my disk.
then i used BUFFEREDIMAGE class and its funtion setRGB to set the pixel array values o the bufferedimage object and theni used ImageIO.wite to write it as image.
now the problem is it gives runtime error as access denied to the image file
what should i do to save the pixel values as image.
help me guys as soon as possible.
|