[Gambas-user] pb loading an picture into a string
Jean-Yves F. Barbier
12ukwn at ...626...
Thu Nov 26 14:32:05 CET 2009
Doriano Blengino a écrit :
...
Of that I'm aware Doriano, THE PB is I need each and every byte of the picture
in order to cast it to a Base64 to send it to postgresql.
Or just escape some chars, or whatever processing function I'll further need;
because I know there are base64 functions in gb.xml (however totally undocumented)
but what if I need to apply another process to a picture??...
So it looks impossible, as each time I take a byte out from the string it is
supposed to be an UTF8 one (so only 234 bytes are processed out of 298) AND
I can't convert this string because Conv (& Conv$) fail as Bad string conversion...
Now, if you have any clue, I'd be glad to ear about it.
JY
--
On the whole, I'd rather be in Philadelphia.
-- W. C. Fields' epitaph
More information about the User
mailing list