I'm currently working on implementing the work of my GSoC student in
the trunk (and by the way improving it). The project was about the
possibility to set an avatar for the user.
You can more informations about the project on the website :
I have a question about the resizing of the images. The current
project have a tool to edit the image (resizing and select a specific
part) and it works well for images larger than the clipping zone. But
for smaller images (the clip size is 96x96), the edit tool just resize
it to the clip size (it take the smaller dimension, set the value to
96 and resize the image according to it). If the image is really
smaller the result is awful.
I've attached two screenshots to show the results.
Image 1 (edittool_big) shows the edit tool with a big image (375x500)
Image 2 (edittool_small) shows the edit tool with a small image
(60x80) which is attached.
The two image are the the same image but the smaller has been resized
with The Gimp. As you can see the small image resized is blurred (the
original is attached to the mail).
Here is my questions :
Should I leave the resizing ?
If yes, is resing on the smaller dimension a good idea ?
If no, center the image in the clipper ? any other idea ?
The edit tool is clearly inspired of the ImagePicker from Apple. Can
someone with a Mac tell me how they handle this problem ?