Image crop to output image at certain dimensions

Hi, does anybody have any experience with creating an image cropping tool that will output the cropped image at a defined dimension size? I would like photos taken by the user to conform to passport photo sizes i.e. take a selfie then resize the image to use on an ID card (passport size).

I have looked at the Uploady marketplace project and can tweak it to have a rectangle overlay, but it doesn't look as if the custom_image_crop package used can output the result to a certain dimensions - the output is always a square (unless someone else knows different)?

Thanks

1
10 replies