Re: [WebDNA] Decode Base64 Image

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114680
interpreted = N
texte = 2302 --0000000000009b7467058fa9cb45 Content-Type: text/plain; charset="UTF-8" Stuart, This works for me. - Tom [!] ### Write the image-data to disk ### [/!][writefile file=/img/[varIMAGEID].txt][varBASE64STRING][/writefile][!] ### Load and decode the image-data ### [/!][writefile file=/img/[varIMAGEID].jpg][!] [/!][shell]base64 -d '/full-path-to-the-image/[varIMAGEID].txt'[/shell][!] [/!][/writefile][!] ### Delete the image-data text file ### [/!][deletefile file=/img/[varIMAGEID].txt] ============================================== Digital Revolutionaries 1st Floor, Castleriver House 14-15 Parliament Street Temple Bar,Dublin 2 Ireland ---------------------------------------------- [t]: + 353 1 4403907 [e]: [w]: ============================================== On Fri, 9 Aug 2019 at 05:57, Stuart Tremain wrote: > I have come up against the wall trying to save a Base64 string as an image. > > Has anyone had success doing this ? > > Any ideas ? > > > Kind regards > > Stuart Tremain > Pharoah Lane Software > AUSTRALIA > webdna@plsoftware.com.au > > > On 3 May 2017, at 08:31, Tom Duke wrote: > > Hi all, > > So I can Base64 encode an image using: > > [encrypt method=Base64&file=my-test.jpg][/encrypt] > > How do I decode the Base64 data back using WebDNA? > > - Tom > > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us > > > > > > > > > > > > > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list talk@webdna.us > To unsubscribe, E-mail to: talk-leave@webdna.us archives: > http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us --0000000000009b7467058fa9cb45 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Stuart,

This works for= me.

- Tom



[!]

### =C2=A0Write the image-data= to disk =C2=A0###

[/!][writefile file=3D/img/[varIMA= GEID].txt][varBASE64STRING][/writefile][!]

### =C2= =A0Load and decode the image-data =C2=A0###

[/!][writ= efile file=3D/img/[varIMAGEID].jpg][!]
[/!][shell]base64 -d '/f= ull-path-to-the-image/[varIMAGEID].txt'[/shell][!]
[/!][/writefi= le][!]

### =C2=A0Delete the image-data text file = =C2=A0###

[/!][deletefile file=3D/img/[varIMAGEID].tx= t]



=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Digital Revolutionaries
1st Floor, = Castleriver House
14-15 Parliament Street
Temple Bar,Dublin 2
Irel= and
----------------------------------------------
[t]: + 353 1 44039= 07
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/><= br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


On Fri, 9 Aug 2019 at 05:57, Stuart Tremain <webdna@plsoftware.com.au> = wrote:
I have come up against the wall trying to save a Base64 string= as an image.

Has anyone had success doing this ?
<= div>
Any ideas ?


Kind regards
=
Stuart Tremain
Pharoah Lane Software
AUSTRALIA


On 3 May 2017, at 08:31, Tom Duke <tom@revolutionaries.ie> wrote:

Hi all,

So I can Base64 encode an image using:<= /div>

=C2=A0 =C2=A0 [encrypt method=3DBase64&file=3D= my-test.jpg][/encrypt]

How do I decode the Base64 = data back using WebDNA?

- Tom

=

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us


=




<= /div>


=

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@w= ebdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: suppo= rt@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --0000000000009b7467058fa9cb45-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Decode Base64 Image (Stuart Tremain 2019)
  2. Re: [WebDNA] Decode Base64 Image (Tom Duke 2019)
  3. Re: [WebDNA] Decode Base64 Image (Stuart Tremain 2019)
  4. Re: [WebDNA] Decode Base64 Image (Tom Duke 2019)
  5. Re: [WebDNA] Decode Base64 Image (Stuart Tremain 2019)
  6. [WebDNA] Decode Base64 Image (Tom Duke 2017)
2302 --0000000000009b7467058fa9cb45 Content-Type: text/plain; charset="UTF-8" Stuart, This works for me. - Tom [!] ### Write the image-data to disk ### [/!][writefile file=/img/[varIMAGEID].txt][varBASE64STRING][/writefile][!] ### Load and decode the image-data ### [/!][writefile file=/img/[varIMAGEID].jpg][!] [/!][shell]base64 -d '/full-path-to-the-image/[varIMAGEID].txt'[/shell][!] [/!][/writefile][!] ### Delete the image-data text file ### [/!][deletefile file=/img/[varIMAGEID].txt] ============================================== Digital Revolutionaries 1st Floor, Castleriver House 14-15 Parliament Street Temple Bar,Dublin 2 Ireland ---------------------------------------------- [t]: + 353 1 4403907 [e]: [w]: ============================================== On Fri, 9 Aug 2019 at 05:57, Stuart Tremain wrote: > I have come up against the wall trying to save a Base64 string as an image. > > Has anyone had success doing this ? > > Any ideas ? > > > Kind regards > > Stuart Tremain > Pharoah Lane Software > AUSTRALIA > webdna@plsoftware.com.au > > > On 3 May 2017, at 08:31, Tom Duke wrote: > > Hi all, > > So I can Base64 encode an image using: > > [encrypt method=Base64&file=my-test.jpg][/encrypt] > > How do I decode the Base64 data back using WebDNA? > > - Tom > > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us > > > > > > > > > > > > > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list talk@webdna.us > To unsubscribe, E-mail to: talk-leave@webdna.us archives: > http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us --0000000000009b7467058fa9cb45 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Stuart,

This works for= me.

- Tom



[!]

### =C2=A0Write the image-data= to disk =C2=A0###

[/!][writefile file=3D/img/[varIMA= GEID].txt][varBASE64STRING][/writefile][!]

### =C2= =A0Load and decode the image-data =C2=A0###

[/!][writ= efile file=3D/img/[varIMAGEID].jpg][!]
[/!][shell]base64 -d '/f= ull-path-to-the-image/[varIMAGEID].txt'[/shell][!]
[/!][/writefi= le][!]

### =C2=A0Delete the image-data text file = =C2=A0###

[/!][deletefile file=3D/img/[varIMAGEID].tx= t]



=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Digital Revolutionaries
1st Floor, = Castleriver House
14-15 Parliament Street
Temple Bar,Dublin 2
Irel= and
----------------------------------------------
[t]: + 353 1 44039= 07
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/><= br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


On Fri, 9 Aug 2019 at 05:57, Stuart Tremain <webdna@plsoftware.com.au> = wrote:
I have come up against the wall trying to save a Base64 string= as an image.

Has anyone had success doing this ?
<= div>
Any ideas ?


Kind regards
=
Stuart Tremain
Pharoah Lane Software
AUSTRALIA


On 3 May 2017, at 08:31, Tom Duke <tom@revolutionaries.ie> wrote:

Hi all,

So I can Base64 encode an image using:<= /div>

=C2=A0 =C2=A0 [encrypt method=3DBase64&file=3D= my-test.jpg][/encrypt]

How do I decode the Base64 = data back using WebDNA?

- Tom

=

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us


=




<= /div>


=

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@w= ebdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: suppo= rt@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --0000000000009b7467058fa9cb45-- . Tom Duke

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCatalog Hosting (1998) [OT] Webmin (2003) Error handling for accountNum (1997) international time (1997) Catalogs and W* (1996) Merging databases (1997) &FieldNametype=time unnecessary? (2000) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) using showpage and showcart commands (1996) Security Hole - NetCloak Update (1998) Hiding usernames and passwords in URL (1998) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Web* 4.2 (2000) [WebDNA] webdna.us (2008) Trouble with formula.db + more explanation (1997) Remove Multiple Line Items (2005) PCS Frames (1997) Variable in a variable (2002) WebCat2 several catalogs? (1997) how is this possible (2000)