spacebass5000
Programmer
I have seen sites allow users to upload photos to display on their community profiles where the upload process creates a thumbnail for the user to display as an avatar or whatever. What I am curious about is, a few sites I have come across have been able to generate a thumbnail of a picture that gets cropped based on the user's face.
I want to delcare a fixed aspect ratio for my thumbs. I want all of the thumbs to be the same size. This is tough when you have a picture that is drastically different in dimensions when compared to the declared aspect ratio. This is why I would like to crop a thumb about the face featured in the photo.
Do you know how this is done?
I want to delcare a fixed aspect ratio for my thumbs. I want all of the thumbs to be the same size. This is tough when you have a picture that is drastically different in dimensions when compared to the declared aspect ratio. This is why I would like to crop a thumb about the face featured in the photo.
Do you know how this is done?