Generate Random Backgrounds For Twitter Revisited

You may remember my previous attempt to do this. There was the problem of it generating a .bmp file, which then had to be converted to .jpg or .gif (with something like Gimp), before it could be uploaded to Twitter.

I've gone back and reworked my cback script so that it now uses the Python Imaging Library. Not only does this fix the .jpg problem, it has made it an order of magnitude faster. The new source code is here. The changes were minimal.

The final problem to try to solve, (in trying to totally automate this), is to see if there is a way to automatically upload the new image to Twitter. I'll leave that for another day.

[]

[]

Comments:

Post a Comment:
Comments are closed for this entry.
About

user12607856

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today