Re: Best way to base64encode a jpeg file ?

2025-02-02 Thread Richard Gaskin via use-livecode
jbv wrote: > I need to base64encode a serie of jpeg files to include > the code in a curl request. > What is the best way to do that ? Depends. What's on the receiving end, and what options does it support? -- Richard Gaskin FourthWorld.com ___ use-l

Best way to base64encode a jpeg file ?

2025-02-02 Thread jbv via use-livecode
Hi list, I need to base64encode a serie of jpeg files to include the code in a curl request. What is the best way to do that ? Do I need to import each file into an image control and base64encode the "text" of the image ? Thank you, jbv ___ use-liveco

Re: Best way to base64encode a jpeg file ?

2025-02-02 Thread Alex Tweedly via use-livecode
Why not just something like repeat for each line L in tFilePathNames     put url ("binfile:" & L) into tmp     put base64encode(tmp) after tWhatever end repeat Alex. On 02/02/2025 19:14, jbv via use-livecode wrote: Hi list, I need to base64encode a serie of jpeg files to include the code i