The image data is a sequence of bytes - ie, "unsigned char".
A string is a sequence of characters - ie, "char".
If you want to manipulate image data as a string, you need to make sure the
special characters, like /0, do not appear in your data. You could UUENCODE
or BASE64 encode the data, which insures that it is in text characters - or
you could just treat it as bytes... ;>
Good Luck,
-jjf
-----Original Message-----
From: Charles Rezsonya [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 11, 2000 1:06 PM
To: Palm Developer Forum
Subject: Bits from images
without os 3.5, to grab the bits from an image you read past the ptr. but
when i go to move it (memmove) i can't figure out how to end up with it in a
char*. i need to end up with the images bits in a char* so i can handle it
as a string, any idea's??
Charles Rezsonya
Palm Developer
ICQ 6470210
[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/