automatic image editing
Posted: Sat Oct 06, 2012 2:20 pm
Hello!
I honestly tried to find the relevant information on the forum, but I do not know much English.
Please help me.
Write code to Lua, which does the following:
1) assigns the "self.Image" image Example.bmp, which lies in Gamedirectory / Sprites
2) assigns the "self.Pixel" color code from the image point coordinates (5,2)
3) assigns the "self.Pixel" a different color code and use it to change the image accordingly
4) saves the modified picture in Gamedirectory / Sprites
I want to write a program that will save me from having to draw such boring things as concrete and steel inserts (I'm an artist and I draw bunkers for Cortex Command).
I know a little lua and I know how to create an array of flowers concrete and steel (color code), and how to randomly choose the values to paint such places.
I'm going to use Love as the basis for this program.
I not recommend any pointless programming lessons, because I really do not know much English.
If you write the code that I asked for, then you will do me a lot and the best service in my position.
If I can help you in return, draw something, I'll do it.
Send me a private message or write directly to the subject.
If the text looks disgusting - all claims to google translate
I honestly tried to find the relevant information on the forum, but I do not know much English.
Please help me.
Write code to Lua, which does the following:
1) assigns the "self.Image" image Example.bmp, which lies in Gamedirectory / Sprites
2) assigns the "self.Pixel" color code from the image point coordinates (5,2)
3) assigns the "self.Pixel" a different color code and use it to change the image accordingly
4) saves the modified picture in Gamedirectory / Sprites
I want to write a program that will save me from having to draw such boring things as concrete and steel inserts (I'm an artist and I draw bunkers for Cortex Command).
I know a little lua and I know how to create an array of flowers concrete and steel (color code), and how to randomly choose the values to paint such places.
I'm going to use Love as the basis for this program.
I not recommend any pointless programming lessons, because I really do not know much English.
If you write the code that I asked for, then you will do me a lot and the best service in my position.
If I can help you in return, draw something, I'll do it.
Send me a private message or write directly to the subject.
If the text looks disgusting - all claims to google translate