Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to make this string an image?
Message
De
16/07/2017 02:59:30
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
16/07/2017 02:18:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Divers
Thread ID:
01652660
Message ID:
01652673
Vues:
62
This message has been marked as a message which has helped to the initial question of the thread.
>>>>Hi everybody,
>>>>
>>>>If I got this as a value, what is it and can this be transformed into an image somehow?
>>>>
>>>>
>>>>ÿØÿà
>>>
>>>Just use that as .pictureVal property. It's a string containing an image, i.e. what you'd get by filetostr("some.jpg").
>>
>>Most likely it should be longer string. I tried this particular string ad PictureVal or strtofile into jpg, but I got nothing showing.
>
>Naomi, as I told you, what you have is a truncated string at the first 0x00 byte. It is useless, this way. That happened at some point in your processing chain, something truncated the image byte sequence so you won't be able to do anything with it now. You'll have to look for the culprit upwards.

Yup, I also assumed that there's a full string which got truncated when it was pasted... but you're right, it was truncated somewhere upstream.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform