Editing a binary file?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
rullbandspelare
Pro Scripter
Posts: 149
Joined: Tue Mar 23, 2004 9:11 pm

Editing a binary file?

Post by rullbandspelare » Tue Oct 16, 2007 5:36 am

Hi!
I tried to extract parts (a jpeg image) from a binary file.
But it will not work. The file structure is fairly simple. It is a MJPEG with a lot of jpegs separated with a delimiter row.
I can extract a image but it gets corrupted and not usable.

Any ideas on how to do this?

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Oct 16, 2007 7:34 am

To read binary data from a file you will need to use VBScript:
http://www.mjtnet.com/forum/viewtopic.php?t=1170#5117
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts