If either param is set to zero, then that dimension will not be considered as a part of the resize.
Additionally, if $this->options['resizeUp'] is set to true (false by default), then this function will
also scale the image up to the maximum dimensions provided.