|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi there,
I'm developing an application to send Nokia Logos to mobile phones and they have to be hexencoded. Can anyone tell me how to go about hexencoding a gif image. i need the image to be in a format which is purely a text. an example of a hexencoded gif is: 47494638396148000E00800000000000FFFFFF2C0000000048000E000002878C0F9167CBEFD093B3DA8B298D8AAB9F8559E2 4DA588A690CAB6EE06C4E7D8BDEF22E7CD47828CDC98A97015A0AF964BC6824AE331425C2D3D4652EFB8DA997EDC0D62DA5B 3275D39D15A9E9029B6BC7F51CC4448B692F0A07E67DE54E5312A273C7A634C65648F885D8311878D817F7C321061949B9E7 57E4563269597359E9090A98F9195000003B Any help is good. Cheers. |
|
#2
|
|||
|
|||
|
I don't understand your query..
will you store the images in their encoded format? will you encode them on request? do you know how hexcode works - is that what you need help with? is it one / two bytes at a time? |
|
#3
|
|||
|
|||
|
hex/gif
I want the images as a hex code so that i can send them to mobile phones through an sms gateway. I will simply be storing them as a string in a database.
What i need to know is how to get this hex code from a gif image. Maybe there is a tool that can do this or something? hope this helps, if not ask me again. Thanks for your time. Ben. |
|
#4
|
|||
|
|||
|
it's a picture of a train!!!
I can help you with this if you tell me what you have available to you to do the encoding. Unless you want to send me the stuff and I'll encode it for you. Do you have MS Access - can get it to read gifs straight to table (encoding along the way). Otherwise, can use excel 97 / word 97 / office 97 / windows with scripting... Let me know and I'll help you get this done, Ed. |
|
#5
|
|||
|
|||
|
Thanks for replying.
I have office 2000 so i can use any of those that you mentioned. If you can tell me how to do it then great!! Thanks again. Ben. |
|
#6
|
|||
|
|||
|
send me your email address (via private message) and I'll send you the xl97 that I did it in.. the code / method should be pretty clear from there. It's only set up for a single pre-specified file at the moment, but if you need help with that the just say so.
The encoding involves loading the file one byte at a time and converting the byte to a two-digit hex number - 0 becomes "00", 9 becomes "09", 10 becomes "0A", 15 becomes "0F", 255 becomes "FF" The full coded string is a concatenation of all the 2 digit ones, left to right. Ed. (I'll be in work in about an hour!!) |
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > Gif to hex code |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|