First I got the old image object as below:
I applied Google Slides API and set the same size code as below:
It can be seen as I set the same size of the pics but the shape is different.
First I got the old image object as below:
I applied Google Slides API and set the same size code as below:
It can be seen as I set the same size of the pics but the shape is different.
If you are having problem with the size and shape of the image, here is the document that could help you on sizing and positioning of page elements.
Here are some important facts about Transforms and Page Elements.
Just explore the documentation and apply it in your code.
Hope this helps.