EMS picture message 24x24 right shifted

EMS picture message 24x24 right shifted SearchSearch
Author Message
Anonymous
 
Posted on Monday, December 12, 2005 - 05:39 pm:   

Hi

I have been trying to send EMS picture message of 24x24 size using NowSMS.
The image however appears to be garbled and right shifted.

Following is the EMS UDH:

4D124B000318001818010000000000000000000000000aaa800c9a400c89000cbf400e85800a7d40 0a27000b4f400d20000ad9c00f89800ad2400c5e800fffc00000000000000000000000000000

Header: 4D (Hex of 77)
12 (Variable picture message)
4B (Hex of 75)
00
03 (8*3 )
18 (Hex of 24)

Data: abcd
DCS : 0
OTA Format: Converted the image to OTB format using ImageMagick. The image appears fine when viewed in the OTB format.


I have been able to send 32x32 message successfully but the variable picture message 24x24 appears garbled.

Pls advice. Thanks in advance
Regards
Parikshit
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5388
Registered: 10-2002
Posted on Tuesday, December 20, 2005 - 07:20 pm:   

Hi,

Without seeing the original unconverted data, I can only confirm that the image in question is indeed garbled.

Can you share the original unconverted data?

-bn
Cybp
New member
Username: Cybp_tech

Post Number: 2
Registered: 05-2005
Posted on Monday, December 26, 2005 - 08:24 am:   

Hi Bryce,

I had deleted my previous example otb file by mistake.
Here is a new one but very similar to the above.

Attached are two files: Original file: test1.jpg
Converted file example.otb

OTB file is of 76 bytes as follows:
4D124B000318001818010000000000002aaa803256c033120031cec03a2980233b402c2000264bc0233c803c7ec0299f802313c03599802d35403bf2803fffc0000000000000000000000000000000000000
Data= abcd & DCS=0
The resultant EMS image gets shifted to the right and i get a some junk characters as follows @@@..jf


So I truncated the end bit to remove extra 4 bytes since its 00000000 to make it 72 bytes.
UDH sent is:
4D124B000318001818010000000000002aaa803256c033120031cec03a2980233b402c2000264bc0233c803c7ec0299f802313c03599802d35403bf2803fffc00000000000000000000000000000
Data= abcd & DCS=0
The resultant EMS image is the same as above except that there is a decrease in the number of junks characters. I just get a character 6 instead of abcd.

Thanks in advance
Parikshit
application/zipOrginal Files Zip
originalfiles.zip (1.2 k)