Cropping into an oval shape is not possible.
(there are no oval images, they just don't exist)
all you can do is scale to a different size and overlay an oval contour to simulate an oval image.
Read the manual and find more information about the GD library and Imagemagic.