Re: Best way to base64encode a jpeg file ?

2025-02-03 Thread Bob Sneidar via use-livecode
I heard that the base64encode puts a carriage return at a certain interval of characters (not sure how many). Bob S > On Feb 3, 2025, at 12:25 AM, jbv via use-livecode > wrote: > > Le 2025-02-02 21:10, Richard Gaskin via use-livecode a écrit : >> jbv wrote: >>> I need to base64encode a seri

Re: Best way to base64encode a jpeg file ?

2025-02-03 Thread jbv via use-livecode
Le 2025-02-03 11:07, Bob Sneidar via use-livecode a écrit : I heard that the base64encode puts a carriage return at a certain interval of characters (not sure how many). Bob S Yes, that's true, but even when I removed the returns it didn't work. __

Re: Best way to base64encode a jpeg file ?

2025-02-03 Thread Richard Gaskin via use-livecode
jbv wrote: > Le 2025-02-02 21:10, Richard Gaskin via use-livecode a écrit : >> 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 >>

Re: use-livecode Digest, Vol 257, Issue 1

2025-02-03 Thread Neville Smythe via use-livecode
Urlencode(base64encode(stuff))??? I dont think you want to remove the line feeds, but encode them for http transmission $@%?$@%?$@%?$@%?$@%?$@%?$@%?$@%? Neville Smythe Director, International Go Federation VicePresident, Australian Go Association Inc. > On 4 Feb 2025, at 4:01 am, use-livecode-

Interacting locally with LC and AI models

2025-02-03 Thread jbv via use-livecode
Hi list, Someone asked me privately, so I thought that maybe others would be interested in a simple way to interact between LC and AI models locally on their machine. The method uses Ollama, which is available for Mac, Win and Linux : https://ollama.com 1- Download and install Ollama (plenty of

Re: Best way to base64encode a jpeg file ?

2025-02-03 Thread jbv via use-livecode
Le 2025-02-02 21:10, Richard Gaskin via use-livecode a écrit : 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? Actually, my question w