×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    11

    How to get the image hex code

    I am programming a application to send sms to the mobile with php,but not konw how to get the image hex code?and what's the image type?gif or bmp or both too.
    thanks.
    cellin

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    474

    RE: How to get the image hex code

    If you save your image as "Portable Bitmap", I think you get something which you can use to create the hex. As I recall this format was each pixel of the image represented as a textual 1 or 0. So you'd need to concatenate 8 of those together, then change it to a binary number and take the hex representation of that. OTA bitmap only is the image type.

    -paul / ForumNokia

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    11

    RE: How to get the image hex code

    Hi,paul,Firsly thanks a lot.
    I know too firstly get the the bit string if the image. The second devid it to octets and then transferred to hex code. but I don't know how to do!
    cellin

Posting Permissions

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