Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 5th, 2008, 10:19 AM
Newbie
 
Join Date: Aug 2008
Posts: 10
Default Find the 80th byte in an image

Can someone help me in locating the 80th byte of an image and put some auto script on it. I'm new to this type of programming, so can you give me some ideas or codes that can help me.
Reply
  #2  
Old September 5th, 2008, 10:34 AM
Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Age: 21
Posts: 1,921
Default

Have a look at the File class and the FileInputStream which has various read methods. They will allow you to read the contents of any file, no matter if you need a specific byte or more.

Greetings,
Nepomuk
Reply
  #3  
Old September 5th, 2008, 11:50 AM
Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Age: 21
Posts: 1,921
Default

Quote:
Originally Posted by Nepomuk
Have a look at the File class and the FileInputStream...
Ups, just realised that this was in a different forum than I thought it was. My solution will work for Java, but you didn't state what language you'd be using. So, tell us: Which language will you be writing this in and what have you done so far?

Greetings,
Nepomuk
Reply
  #4  
Old September 5th, 2008, 12:34 PM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 12,727
Default

Considering the other questions were asked in the VB forum, I'm assuming Visual Basic. If not, a moderator will move this thread to the correct forum. Please remember to post threads in the most appropriate forum for your question.
Reply
  #5  
Old September 6th, 2008, 02:58 AM
Newbie
 
Join Date: Aug 2008
Posts: 10
Default

we intended to make this program in VB but any language would be fine... our goal is just to find a way in inserting something(an autoscript maybe or any prog) in the 80th byte .
Reply
  #6  
Old September 6th, 2008, 02:59 AM
Newbie
 
Join Date: Aug 2008
Posts: 10
Default

we intended to make this program in VB but any language would be fine... our goal is just to find a way in inserting something(an autoscript maybe or any prog) in the 80th byte .
Reply
Reply

Bookmarks

Thread Tools

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles