I have a picture that I want to add to a slide, the dimension of the picture is 1440x1080
When I try to add it using this
slide.getShapes().addPictureFrame(ShapeType.Rectangle, 0, 0, imgx.getWidth(), imgx.getHeight(), imgx);
It exceeds the dimensions of the slide.
Is there a way to fix this problem?