method resizeImage renamed to resize

Signed-off-by: Jan Linhart <jan.linhart@easysoftware.cz>