added 'rounding' option which allows you to specify how image dimensions should be rounded. this is useful because many image sizing softwares do not round the way we are taught to in school.