Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pasar imágenes (BMP, JPG, GIF, OTROS) a formato texto
Message
From
17/01/2006 19:52:00
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
17/01/2006 18:56:18
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01087785
Message ID:
01087800
Views:
34
>Saludes amigos Fox, me gustaría saber si es posible conseguir convertir una imagen a otro formato y guardarlo en un campo memo de tal manera que ésta nueva información sea la misma imagen aplicable a un control Imagen. Por ejemplo la fotografía de un empleado.
>
>Saludes.

Puedes guardar el archivo a un campo memo(binary), el binary es para evitar traducción de codepage, que arruinarían los datos. Pero para mostrar los datos, creo que tendrías que guardarlos temporalmente a un archivo en disco.

Sin embargo, me parece más simple mantener sólo el nombre del archivo en un campo texto o memo.

Además, de esta manera no corres tanto riesgo de acercarte al límite de 2 GB por archivo, que tiene VFP.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform