Hi All
i am getting image data in the hex formate and client side we store in the String
problem is how to store data in the database .pls help me the complete process .for this i always thankful to all of u
Printable View
Hi All
i am getting image data in the hex formate and client side we store in the String
problem is how to store data in the database .pls help me the complete process .for this i always thankful to all of u
Can you explain what "hex formate" is?Quote:
image data in the hex formate
Is it a String with each 2 characters being hex digits representing the contents of one byte of the image data?
For example "2D" for 0x2D.
no, for example- for comma (,) hex vlaue is 2c for * hex value is 2a.
actually i have a device that send the image data (as a hex String ) in the server and we receive the data and store in the String variable but problem is after receiving the data we can not create the image .i want to know that how to make image after receiving the data??
You're not clear here. What values are String and what values are ints/hex?Quote:
or example- for comma (,) hex vlaue is 2c
If one byte in memory has the hex value of 2C or int of 44, it is also the character: ','
If you represent the value of that one byte by a hex String, the String is "2C", two characters for one byte.
Is that what you have? A String of character pairs where each pair of characters are 2 hex digits representing the contents of one byte.