Resizing and cropping at the same time

Hi, thanks for the reply.
At last, I found the solution by myself (sorry for not having time to notify): it’s fit=thumb.
crop doesn’t allow to resize AND crop at the same time (it just crops), while thumb does.
A couple of problems: 1) f parameter doesn’t allow a precise focus position, but the problem is tracked here 2) I’d prefer being able to resize the whole image to a certain size, aspect ratio, etc, THEN cropping it