Code: Select all
if update_num>4 then
fDrawImage(cr,'./image-out/image.png',150,132,300,263)
end
It waits 4 updates before it shows the picture. Changing it to 1 will show the picture faster, but can also endup in errors..
Code: Select all
if update_num>4 then
fDrawImage(cr,'./image-out/image.png',150,132,300,263)
end
Edit done, the image clearly appears faster after the mp3 plays now, and no errors shown when launched in terminal. Hopefully Bleys takes an interest if this requires a massage of the .luaKoentje wrote: ⤴Thu Feb 15, 2024 2:00 pm Can't help you with that.. it's a lua thing!
Go into pic.lua and find this part and change update_num to 1 and see if it works...Code: Select all
if update_num>4 then fDrawImage(cr,'./image-out/image.png',150,132,300,263) end
It waits 4 updates before it shows the picture. Changing it to 1 will show the picture faster, but can also endup in errors..