Hopefully this is a simple one for many people out there.

I am working with a REST service that is returning an image in a JSON response.

The image is coming back as a long text value and I am not sure what steps I 
need to go through to convert it to an image.

I tried : 
TEXT TO BLOB($vt_Image;$vx_BLOb;UTF8 text with length)
BLOB TO PICTURE(vx_BLOb;$vg_Picture;”.png”)

Rather nave I know…

I also want to reverse the process for something else so I can send images via 
JSON.

Regards,  Dougie
________________________________________________________

telekinetix Limited- J. Douglas Cryer
Phone : 01234 761759  Mobile : 07973 675 218
2nd Floor Broadway House, 4-6 The Broadway, Bedford MK40 2TE
Email : jdcr...@telekinetix.com <mailto:jdcr...@telekinetix.com>  Web : 
http://www.telekinetix.com <http://www.telekinetix.com/>
________________________________________________________

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to