Added crop and force_resize parameters to resize filter