Best way to base64encode a jpeg file ?

Alex Tweedly alex at tweedly.net
Sun Feb 2 19:44:45 EST 2025


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 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-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list