resize

format

boolean resize(int maxWidthOrHeight) throws EveException

description

Resizes an image to maxwidthOrHeight pixels square. This method reproportions the image so that it is a square in order to facilitate image analysis.

parameters

maxWidthorHeight - the new square dimension to which to resize the image

returns

TRUE - if the resize was successful

 

FALSE - if the resize failed

throws

The resize() method throws an EveException if the resize fails.