Capacitor Camera - getPhoto - saveToGallery with maximum taking into account width/height since version 4.0.0

The behaviour of @capacitor/camera getPhoto with the options saveToGallery and width/height has changed since version 4.0.0 of @capacitor/camera plugin.
Before version 4.0.0 the image saved to gallery was the full size the camera supports.
Since version 4.0.0 image saved to the gallery also respects the properties width and height.

Any way to to still call getPhoto with width/height but store the full size image to the gallery?