@xXMirrodinXx (part 2) replace 3. line with "local arr = { the content of a.txt file, make sure that there is no "," at the beginning and at the end }", in the 5. and 6. line replace positions (corners of rect) to make the image at the location you want, make sure that the width and height is the same as your a.jpg's widht and height. Open powder toy, open console, and tpye "dofile("asd.lua")".
@xXMirrodinXx Install processing, new sketch,paste pastebin.com/RjsX8TwN, ctrl-k,put your a.jpg there, run the program, it should create a a.txt file. Go to the folder of powder toy, save pastebin.com/hrCH7PyL as "asd.lua", COMMENT TOO LONG!!! part 2 as other comment
@csavas i downloaded the lua code
@xXMirrodinXx Download it first.
@csavas i don't realy know how to run a script as a link
@xXMirrodinXx Processing 3 code: https://pastebin.com/RjsX8TwN Lua code: https://pastebin.com/hrCH7PyL Just, dont ask me how to use it.
@PortalPlayer I said that I forgot to round the numbers. BUT now I fixed it. UPDATE: All numbers are rounded.
i mean can i have the script link for the photo XD