Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-13-2008, 01:13 AM
Member
 
Join Date: Apr 2008
Posts: 2
Rep Power: 0
shishirg can only hope to improve
Question how to save image to disk after using pixelgrabber
hey guys...
hiii
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.

thanx
wid regards
shishir
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 04-13-2008, 04:38 PM
Member
 
Join Date: Apr 2008
Posts: 2
Rep Power: 0
shishirg can only hope to improve
Question 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.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 04-14-2008, 10:37 AM
CaptainMorgan's Avatar
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 838
Rep Power: 4
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Default
shishrig. Multiple posts such as you've done are not allowed. Please read the FAQ before you post again.

This thread has been merged with another just like it.
__________________
Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice? Vote now!
Got a little Capt'n in you? (drink responsibly)
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 04-17-2008, 04:58 PM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 540
Rep Power: 3
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
Default
Quote:
hey guys...
hiii
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.
Is this an applet?

regards,
sukatoa
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 02-28-2009, 10:23 AM
makpandian's Avatar
Senior Member
 
Join Date: Dec 2008
Location: Chennai
Posts: 253
Rep Power: 2
makpandian is on a distinguished road
Default write an image
you can use bufferedimage class for create a image object and then write that object on disk using image.io.write() in any format as your wish.
__________________
Mak
(Living @ Virtual World)
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 02-28-2009, 03:45 PM
CJSLMAN's Avatar
Moderator
 
Join Date: Oct 2008
Location: Mexico
Posts: 1,159
Rep Power: 3
CJSLMAN is on a distinguished road
Default Zombie Alert !!!
Danger Will Robinson, Danger !!!


makpandian... you are ressurecting a post that is over 10 months old....

CJSL
__________________
Chris S.
Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to save image as jpg? katie New To Java 3 01-09-2010 07:48 AM
Writing text into an image and save it elcapi Java 2D 6 09-18-2009 06:47 PM
copy image/imageicon into a file on disk archanajathan Advanced Java 2 11-22-2007 07:21 AM


All times are GMT +2. The time now is 12:59 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org