Convert logo from bmp to hex string using RingToneTools

Convert logo from bmp to hex string using RingToneTools SearchSearch
Author Message
Anonymous
 
Posted on Sunday, September 12, 2004 - 09:35 am:   

Can that be done?
I've tried it but it outputs a diffrent result from file 2hex.
First i converted the bmp into ota with http://www.teraflops.com/wbmp/ converter. Then i run file2hex and i got: 00480E01000000000380039C00000000000300039C0000006300070FC198000000E719861FE1983C 0000E73FC63FF198FE2670E73F46787998EFEF98E73ECC703999EF7318E73F8C703999EF6318FF1F 0C703991EF63187F0E0C703891FE63183F041C787891FC631807001C3FF0F0E063187F001F1FE0F0 F0F7BCFE001F0FC0603C

Then i tried to convert the bmp using ringtonetools:
I run ringtonetools -x -s 1000 file.bmp file.nok and i got the following:
3000480E01FFFFFFFFFC7FFC63FFFFFFFFFFFCFFFC63FFFFFF9CFFF8F03E67FFFFFF18E679E01E67 C3FFFF18C039C00E6701D98F18C0B987866710106718C1338FC666108CE718C0738FC666109CE700 E0F38FC66E109CE780F1F38FC76E019CE7C0FBE387876E039CE7F8FFE3C00F0F1F9CE780FFE0E01F 0F0F084301FFE0F03F9FC300

What should i do to get the same result as the first way of converting?
Or are ther any other ways to convert from bmp(or jpg) to hex?
Darek Chorazewicz
New member
Username: Daro

Post Number: 13
Registered: 03-2004
Posted on Monday, September 13, 2004 - 10:32 am:   

Hi.
Check http://support.nowsms.com/discus/messages/1/6149.html

There is a nokia image converter.

DARO
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3434
Registered: 10-2002
Posted on Tuesday, September 14, 2004 - 07:05 pm:   

If you use ringtonetools, I would specify the output type as ".otb" instead of ".nok". You get some extra header in the ".nok" format ... which basically appears to be a "30" at the start, and a "00" at the end.

The rest of the data is identical between the two conversions except that black and white are inverted.

For example, after the 00480E01 header, you have
000000000380039 in the first example, and FFFFFFFFFC7FFC6 in the second example.

Those strings are identical, just black and white are inverted.

Try the -r command line option with ringtonetools, and I expect you'd see the same strings.