Results 1 to 5 of 5
  1. #1
    sandeep23k is offline Member
    Join Date
    Aug 2010
    Posts
    5
    Rep Power
    0

    Default image store process

    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

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,000
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by sandeep23k View Post
    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
    You asked this question before and it has been answered before; please don't start a new thread over and over again for the same question. b.t.w. what do you people mean by 'pls'? Immitating bees?

    kind regards,

    Jos

  3. #3
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,564
    Rep Power
    23

    Default

    image data in the hex formate
    Can you explain what "hex formate" is?
    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.

  4. #4
    sandeep23k is offline Member
    Join Date
    Aug 2010
    Posts
    5
    Rep Power
    0

    Default

    Quote Originally Posted by Norm View Post
    Can you explain what "hex formate" is?
    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??

  5. #5
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,564
    Rep Power
    23

    Default

    or example- for comma (,) hex vlaue is 2c
    You're not clear here. What values are String and what values are ints/hex?
    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.

Similar Threads

  1. can store image&text in rms seperately but NOT together :(
    By wildheart25c in forum CLDC and MIDP
    Replies: 2
    Last Post: 03-26-2010, 01:27 PM
  2. Image process
    By kcakir in forum Java 2D
    Replies: 1
    Last Post: 01-01-2010, 04:20 AM
  3. Class to store Image+Text
    By Gudradain in forum New To Java
    Replies: 2
    Last Post: 11-23-2008, 08:32 AM
  4. How to store/retrieve PNG image in/from RMS
    By jason-nexFIT-mobileXware in forum CLDC and MIDP
    Replies: 0
    Last Post: 09-10-2008, 04:01 AM
  5. Replies: 0
    Last Post: 08-15-2007, 01:48 PM

Posting Permissions

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