Re:Using imagemagick, awk and kmeans to find dominant colors...
by creshal on Thursday October 01, 2015 @05:07AM
(#10310035)
It's mostly a solved problem nowadays – Pillow exists as much better and Python3-compatible PIL fork.
[ Parent
| on HN ]
Re:Using imagemagick, awk and kmeans to find dominant colors...
by madsravn on Thursday October 01, 2015 @05:13AM
(#10310050)
I wans't talking about just PIL - I was talking about Python 2 vs Python 3 in general.
EDIT: And I'm not talking about development only. I'm talking about download small scripts and being able to run them seamlessly as well.
Re:Using imagemagick, awk and kmeans to find dominant colors...
by JupiterMoon on Thursday October 01, 2015 @05:51AM
(#10310144)
Just pick one and use it. If it is a long project pick python 3. If you actually use python you'll barely notice the difference.
EDIT If the script uses a well formed #! this isn't too much of a problem either.
Re:Using imagemagick, awk and kmeans to find dominant colors...
by creshal on Thursday October 01, 2015 @06:30AM
(#10310236)
> EDIT If the script uses a well formed #! this isn't too much of a problem either.
He does have a point, though: Dependency management in Python is a pain in the ass. Virtualenvs aren't really a solution, distribution packages are usually horribly outdated, …