Forked from cbowns. Creates standard res images from retina images. Modified to support specific naming conventions for Cocos2d and Unity (2d toolkit).