FIX: Image resizing breaks when one of the resized image dimensions is between 0 and 1

Solution: Round up to 1 instead of down to 0.
I think this would prevent dimensions ever being 0 however, which is when we want the function to throw an error, I'm assuming.