Utility for conveniently generating resizable UIImage code