Find the 80th byte in an image

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yomkippur18
    New Member
    • Aug 2008
    • 10

    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.
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    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

    Comment

    • Nepomuk
      Recognized Expert Specialist
      • Aug 2007
      • 3111

      #3
      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

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        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.

        Comment

        • yomkippur18
          New Member
          • Aug 2008
          • 10

          #5
          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 .

          Comment

          • yomkippur18
            New Member
            • Aug 2008
            • 10

            #6
            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 .

            Comment

            Working...