how do i create a .img file of a vmware installation of leopard.

so i can install the .img to a new usb 160gb external drive.