danielballan / photomosaic

Assemble thumbnail-sized images from a large collection into a tiling which, viewed at a distance, gives the impression of one large photo.
http://danielballan.github.io/photomosaic/docs/
BSD 3-Clause "New" or "Revised" License
57 stars 13 forks source link

Tune/Untune don't seem to work properly anymore #4

Closed DLu closed 8 years ago

DLu commented 10 years ago
Traceback (most recent call last):
  File "dlu_test.py", line 5, in <module>
    img = pm.tune(orig_img, 'imagepool.db') # Adjust colors levels to what's availabe in the pool.
  File "/home/dlu/Projects/photomosaic/photomosaic.py", line 283, in tune
    pool_hist = pool_histogram(db)
  File "/home/dlu/Projects/photomosaic/photomosaic.py", line 323, in pool_histogram
    GROUP BY {ch}""".format(ch=ch))
sqlite3.OperationalError: no such column: red
danielballan commented 8 years ago

This is probably related to a change in PIL, I'd guess, but I'm not going to go digging since these was superceded by #9.