It is better to not resize the picture by yourself. Instead, use a professional service like PhotoAiD tool which resizes your picture regarding the official requirements for your country.