Hi all
I need to write a Base64 string (extracted from an HTML file with embedded images) to a JPEG file on disk. There are plenty of online tools to do this but I need to do it VFP. Any ideas? Thanks
Paul Newton
Paul,
STRTOFILE(STRCONV(m.TheExtractedBase64String, 14), m.JPEGFilename)
On Fri, Mar 13, 2020 at 12:37 PM Paul Newton Paul.Newton@pegasus.co.uk wrote:
Hi all
I need to write a Base64 string (extracted from an HTML file with embedded images) to a JPEG file on disk. There are plenty of online tools to do this but I need to do it VFP. Any ideas? Thanks
Paul Newton
[excessive quoting removed by server]
Many thanks António
Paul
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of António Tavares Lopes Sent: 13 March 2020 13:01 To: profoxtech@leafe.com Subject: Re: Base64 to JPEG
Sent by an external sender ------------------------------
Paul,
STRTOFILE(STRCONV(m.TheExtractedBase64String, 14), m.JPEGFilename)
On Fri, Mar 13, 2020 at 12:37 PM Paul Newton Paul.Newton@pegasus.co.uk wrote:
Hi all
I need to write a Base64 string (extracted from an HTML file with embedded images) to a JPEG file on disk. There are plenty of online tools to do this but I need to do it VFP. Any ideas? Thanks
Paul Newton
[excessive quoting removed by server]
vfpencryption.fll also has functions to do it, FWIW.
Alan
I couldn't find any reference to BASE64 here https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&a...
or (same page)
https://www.sweetpotatosoftware.com/blog/?p=93399745
Paul
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Alan Bourke Sent: 13 March 2020 16:37 To: profoxtech@leafe.com Subject: Re: Base64 to JPEG
Sent by an external sender ------------------------------
vfpencryption.fll also has functions to do it, FWIW.
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
[excessive quoting removed by server]
A quick web search suggests:
https://www.tek-tips.com/viewthread.cfm?qid=1669378
which points to:
http://fox.wikis.com/wc.dll?Wiki~VfpBase64
hth,
On Fri, Mar 13, 2020 at 8:37 AM Paul Newton Paul.Newton@pegasus.co.uk wrote:
Hi all
I need to write a Base64 string (extracted from an HTML file with embedded images) to a JPEG file on disk. There are plenty of online tools to do this but I need to do it VFP. Any ideas? Thanks
Paul Newton
[excessive quoting removed by server]
Thanks Ted but Antonio's suggested use of StrConv works really well
Paul
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Ted Roche Sent: 13 March 2020 17:27 To: profoxtech@leafe.com Subject: Re: Base64 to JPEG
Sent by an external sender ------------------------------
A quick web search suggests:
https://www.tek-tips.com/viewthread.cfm?qid=1669378
which points to:
http://fox.wikis.com/wc.dll?Wiki~VfpBase64
hth,
On Fri, Mar 13, 2020 at 8:37 AM Paul Newton Paul.Newton@pegasus.co.uk wrote:
Hi all
I need to write a Base64 string (extracted from an HTML file with embedded images) to a JPEG file on disk. There are plenty of online tools to do this but I need to do it VFP. Any ideas? Thanks
Paul Newton
[excessive quoting removed by server]