how to save image to disk after using pixelgrabber
i stucked in a prob...
i used pixelgrabber... to extraxt RGB pixels....
and later i recreated int 1-D array of pixel values.
But now i want to save ( i read JPG image and a GIF image ) those pixel values as image on disk.
but i am unable to find such stream for JPG and GIF images.
plz help me as soon as possible
if possible provide a example.
access denied exception.... while writing image
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.