[02:28:28] <jazwec> sorry i was away for a few hours but now i finally resolved that problem with installation (by using pillow). so, please, is there any site with code examples for things like circles, chessboard and so on.. ive no idea how could i do it...
[02:49:01] <jazwec> i just want to see some examples to get the basic understanding of how it works and how should the code look like
[04:15:14] <jazwec> nah, im going to sleep...gonna try it here tomorrow.. good night guys
[11:39:04] <jazwec> morning.. please, im trying to merge 3 grayscale images into one. either directly or first toRGB and then convert it to grayscale... could anybody give me a tip, please?
[11:41:01] <jazwec> if i try to merge them into RGB it gives me "mode mismatch" and if i try to merge them as L it says "wrong number of bands"
[16:43:37] <wiredfool1> jazwec: post the code as a gist or pastebin and I'll look
[16:55:27] <jazwec> wiredfool1 its pointless now.. i switched a few messages with my teacher and he says i shouldnt use ImageMath. instead, he just wants us to check i pixel by pixel and try to somehow put it together
[16:57:27] <jazwec> wiredfool1 but..is there a way how can i do something like color every pixel in range?
[18:01:01] <wiredfool1> trace that through, and see what pixels you're putting
[18:17:04] <jazwec> im putting co = (x*field, y*field)
[18:17:25] <jazwec> should i do something like 0,x*field?
[18:18:07] <jazwec> im sorry im keeping you this busy...but i really appreciate your help...thank you
[18:19:46] <jazwec> i dont even know if it has sense to do it.. i have to send it to my teacher in five hours..and this isnt by far the hardest part...
[18:19:56] <jazwec> in the end it should look like this: http://fi.muni.cz/~xdrabek1/ib111/sachovnice.png
[18:21:54] <wiredfool1> well, what changes each time you call putpixel?
[18:31:03] <jazwec> i thought it would make a line of pixels...i even tried adding y += 1
[18:35:02] <wiredfool1> but co is constant in the inner loop
[18:36:03] <wiredfool1> looknig at that target image, you may be better off looping over the whole image and putting all the intelligence of what color to write in one f(x,y | geometry constants)
[18:43:35] <wiredfool1> And way more complex doing it in stages than just figuring out one function that would take the required geometry and returning a black/white decision
[18:44:02] <wiredfool1> using mod, div, square and stuff
[18:44:18] <wiredfool1> but that's probably the crux fo your homework
[19:30:01] <jazwec> so a good thing is.. a friend of mine will send me his project..which i could not replicate, but maybe it will give me some perspective of how it works
[20:39:09] <wiredfool1> so, you're multiplying an index by the size of the square to get a pixel. He's dividing a pixel by the size of the square to get...
[20:42:03] <jazwec> to get an index..but what is index now?
[21:36:17] <jazwec> my teacher sent us an email where he explained some things and told us we can send him the homework on saturday...i think i will manage somehow
[21:38:09] <jazwec> but one more time, thank you..its a pity i cant return the favor...have a good night, or day, or whatever is where you are from
[21:47:50] <jazwec> im starting to think i chose a bad college ;]
[21:48:49] <jazwec> this is my first year studying computers, because they kicked me from lawschool and i somehow thought this would be a good idea because lots of my friends are here