You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have the following directory structure:
/dir
-- test.jpg
-- collection/
-- small_img1.png
-- small_img2.png
-- and so on...
i invoke pymos using: me@mylaptop: ~/dir$ pymos test.jpg output.png ./collection/
this is what i see :
0
INFO:PyMos:Building index...
INFO:PyMos:Color Index built
INFO:PyMos:Generating Mosaic...
Traceback (most recent call last):
File "/usr/local/bin/pymos", line 5, in
pkg_resources.run_script('PyMos==0.6', 'pymos')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 467, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1200, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/PyMos-0.6-py2.7.egg/EGG-INFO/scripts/pymos", line 59, in
new_colormap=args.new_colormap)
File "/usr/local/lib/python2.7/dist-packages/PyMos-0.6-py2.7.egg/pymos/core.py", line 128, in build_mosaic
if (colormap[match[2]][2] == None): # has not been resized yet
IndexError: list index out of range
my test.jpg is 256x256 and all collection images are 75x75
The text was updated successfully, but these errors were encountered:
i have the following directory structure:
/dir
-- test.jpg
-- collection/
-- small_img1.png
-- small_img2.png
-- and so on...
i invoke pymos using: me@mylaptop: ~/dir$ pymos test.jpg output.png ./collection/
this is what i see :
0
INFO:PyMos:Building index...
INFO:PyMos:Color Index built
INFO:PyMos:Generating Mosaic...
Traceback (most recent call last):
File "/usr/local/bin/pymos", line 5, in
pkg_resources.run_script('PyMos==0.6', 'pymos')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 467, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1200, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/PyMos-0.6-py2.7.egg/EGG-INFO/scripts/pymos", line 59, in
new_colormap=args.new_colormap)
File "/usr/local/lib/python2.7/dist-packages/PyMos-0.6-py2.7.egg/pymos/core.py", line 128, in build_mosaic
if (colormap[match[2]][2] == None): # has not been resized yet
IndexError: list index out of range
my test.jpg is 256x256 and all collection images are 75x75
The text was updated successfully, but these errors were encountered: