Hi,
Is there any way that I can have access to the data array of the saved image or video and manipulate the data and save it without needing to open the image or video? I would appreciate any hints.
Thanks in advance.






Hi,
Is there any way that I can have access to the data array of the saved image or video and manipulate the data and save it without needing to open the image or video? I would appreciate any hints.
Thanks in advance.

The binary object (with binary quickload for large files) can be used to edit any files if you know the format.
What are you trying to do?


I don't want to take over this thread or anything but im quite interested in this also, mainly just how to edit a image changing it's colors etc using binary then re-save it.
Also is there some sort of references for doing this sort of stuff for binary editing of images and sounds online?
It sounds like it could be very useful but i have no idea how it's done right now. Hopefully this is ok to post, i know i didn't start this topic but it saves me from making another as it seems like the same type of thing i wanted to know.






Hi Dynasoft,
Thanks for the reply. Well what I want to do is basically to have a visual picture of the data responsible to the image or images building the video to be able to associate any manipulation visually. I have been searching online and seen tutorials regarding LockBits method but the problem is that I have to see what I do and therefor what I want to do is to insert some data in a table to edit and save it and see the result. I hope with this file
I have been able to explain myself better.
With Respect






Hi Atom,
It is a big relife to see I am not alone.

Wikipedia has information on the binary format of most file types, e.g.:Originally Posted by Atom
.BMP: http://en.wikipedia.org/wiki/BMP_file_format#Example_of_a_2x2_Pixel.2C_24-Bit_Bitmap
and even:
.PNG: http://en.wikipedia.org/wiki/Portable_Network_Graphics#Technical_details
Good luck understanding them though, binary editing files isn't simple.






Hi Dynasoft,
Let us assume that I want to load the bitmap data in that very image in the first link you kindly mentioned describing the bmp file, in to the binary object to get to the bitmap data of the image.
Do I have to originate my readings from the offset 36h as zero with a width 12h and 16h as x and y coordinates excluding the Padding for 4 byte alignment to get the data for the image upside down?

That sounds right.
Does the binary object automatically "convert" the files to binary, as far as I new I thought all files also used hexadecimals along with binany.
-Thanks, Variant


Thanks for the links Dynasoft![]()