Merge pull request #8 from keroserene/algo

resolution of image vs. movie optimizations