How can I add the resized images to product when I import product?

7 0 1

Hi, everyone. 

I am newbie to shopify platform.

I am building the shopify app with shopify admin graphql and react.

But I have one problem.

When I import the product with some images(those are the external image) to my own store with graphql, I want to resize(width and height) those images and import project with resized images(new url or other).

What is the best way to solve this problem(without other shopify app)?

Please help me asap.

Best regards and thank you.