require("gd") im = gd.createTrueColor(100, 100) white = im:colorAllocate(255, 255, 255) blue = im:colorAllocate(0, 0, 255) im:filledRectangle(0, 0, 100, 100, white) im:stringFTCircle(50, 50, 40, 10, 0.9, "Vera.ttf", 24, "Powered", "by Lua", blue) im:png("./output/circle_out.png")