02-23-2024, 06:40 PM
I used to use this exact method on a lot of photos to embed time/date/0eople/place info. But then I ran into the problem that nobody else could/would ever know how to decode them. Simple solution I came up with?
Just APPEND the text data and size to the end of the image. Then I can read those last 4 bytes to get size, back up LOF - Size and GET text$ of size to read it back into a program.
And best of all?
ANYONE can simply open that image in any text/hex editor and scroll to the end and easily retrieve that info.
It's a much quicker and usable method to embed text onto images.
Just APPEND the text data and size to the end of the image. Then I can read those last 4 bytes to get size, back up LOF - Size and GET text$ of size to read it back into a program.
And best of all?
ANYONE can simply open that image in any text/hex editor and scroll to the end and easily retrieve that info.
It's a much quicker and usable method to embed text onto images.