Results 1 to 40 of 59

Thread: Qs: Convert image to Hex

Hybrid View

  1. #1
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Qs: Convert image to Hex

    Quote Originally Posted by Lucky6 View Post
    I'm supposed to store the jpg in hex format and later make it a jpg again.... any idea?
    I'm not sure what your really want but below code does two things

    1) reads in a GIF file (or any image file), converts it to Hex String (like you see in a dump) and writes it out as a file.

    2) reads in the Hex String file and converts it back again to the original GIF (or any image file) and write that out to a file
    Attached Files Attached Files


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width