Jump to content

Jpeg to binary


madspof

Recommended Posts

I am not realy sure i was thinkin of storing images in text files so i was thought i would need some kinda of function that would change the Jpeg into a string that could be inserted into a text files. any idea of a function that could do that ?

 

Link to comment
Share on other sites

No, just renaming would not work!

 

Most '.txt' formats requre a 0x00 character at the end of the string, but  jpeg file could possibly contain more then one 0x00 character. So if you did that, the text file would be cut off after the first 0x00 character that it encountered

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.