fix image resizing, allow 2 cores
Merge branch 'master' of https://github.com/mdshw5/ballhead