74
edits
| No edit summary | No edit summary | ||
| (9 intermediate revisions by the same user not shown) | |||
| Line 29: | Line 29: | ||
| ----Cloud Code---- | ----Cloud Code---- | ||
| <pre style="font-size:smaller" > | <pre style="font-size:smaller" > | ||
| <source lang="python"> | |||
| #cloud | #cloud | ||
| width = 400 | width = 400 | ||
| Line 83: | Line 84: | ||
| </pre> | </pre> | ||
| </source> | |||
| Line 107: | Line 109: | ||
| [[File:Screen Shot 2558-06-17 at 12.03.18 AM.png]] | [[File:Screen Shot 2558-06-17 at 12.03.18 AM.png]] | ||
| As can be seen here,in this step, the final  | As can be seen here,in this step, the final result take only small part of the source image. | ||
| It is quite difficult to  | It is quite difficult to trace back what the source image look like but it is the preparation for the next step. | ||
| code for the image processing | code for the image processing | ||
| ============================= | ============================= | ||
| < | |||
| <source lang="python"> | |||
| from PIL import Image, ImageDraw,ImageFilter | from PIL import Image, ImageDraw,ImageFilter | ||
| Line 220: | Line 223: | ||
| </ | </source> | ||
| '''FINAL BOT''' | |||
| '''STEP 2 : moving Kaleido'''   | '''STEP 2 : moving Kaleido'''   | ||
| Line 248: | Line 251: | ||
| [[File:Botscreen1.PNG| | [[File:Botscreen1.PNG|900px]] | ||
| This is the example result. | This is the example result. | ||
| Line 255: | Line 258: | ||
| [[File:Kaleidogif1.gif]] | [[File:Kaleidogif1.gif]] | ||
| [[File:Botexamplegif2.gif|  | more examples of the final result !! | ||
| [[File:Botexamplegif2.gif]] | |||
| [[File:Kaleidoexample3.gif.gif|320 px]] | |||
| [[File:Kaleidoexample2.gif|320 px]] | |||
| '''FINISHING STEP''' | |||
| Last step . . . for the summaery event , I improved a bit the quality of the   | Last step . . . for the summaery event , I improved a bit the quality of the   | ||
| GIF by editing the code to be able to make best quality it can and also the final GIF is not larger that the twitter status update limit. | GIF by editing the code to be able to make best quality it can and also the final GIF is not larger that the twitter status update limit. | ||
| Line 269: | Line 272: | ||
| The complete code of the final version can be found here in the GitHub link. | '''The complete code of the final version can be found here in the GitHub link'''. [https://github.com/AaeApasri/KaleidoGIFBot] | ||
| feel free to download and develop it further if you are interested.  ;) | |||
edits