• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

Search results

  1. bluedxca93

    How do i overwrite an variable inside an if loop

    Am thinking of a script to autocrop small pngs using lua 5.1 and imlib2 on ubuntu. while doing this i did get the idea of writing the following code: for y=0, xhalf do c1 = im:get_pixel(xmid, y) c1a = (c1.alpha) if c1a < 20 then temp_top=y io.stdout:write(...
Top