Results 1 to 4 of 4

Thread: Image to hex file converter

  1. #1
    Join Date
    May 2013
    Beans
    2

    Image to hex file converter

    Hey, I'm tring to convert an image file (bmp, gif) to a long string of hex numbers (hex file). I'm planning to upload the image in this form to an LCD. Is there any software available to do the same?
    Last edited by akhilvarma; May 15th, 2013 at 08:14 AM.

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    6,782
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Image to hex file converter

    Hi akhilvarma. Welcome to the forum

    Yes. Take a look at the command line 'od'. For instance:
    Code:
    od -x file.gif
    For more details:
    Code:
    man od
    Hope it helps. Regards.
    Last edited by papibe; May 13th, 2013 at 12:22 PM.

  3. #3
    Join Date
    May 2013
    Beans
    2

    Re: Image to hex file converter

    Quote Originally Posted by papibe View Post
    Hi akhilvarma. Welcome to the forum
    Thanks papibe! I'm really a newbie to ubuntu..but I'm luvin it.

    Code:
    od -x file.gif
    Thanks a lot for the code. It works fine.
    Last edited by akhilvarma; May 14th, 2013 at 04:53 AM.

  4. #4
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    6,782
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Image to hex file converter

    Glad I could help. Come here often and have fun!

    When you have the chance, please mark the thread as solved (here's how).

    Regards.

Bookmarks

Posting Permissions

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