Images with metatag and orientation

In the Back End of a site I have a procedure for inserting / updating records with a file field for inserting or updating an image in horizontal format.
In the case of a vertical development image, the code still saves the image horizontally by adding a background color to the sides of the image
So far, so good
However, sometimes vertical images from smartphones or tablets probably contain metatags on the orientation of the device at the time of shooting, with the result that the image is inserted rotated by 90 degrees
Is there a method in Wappler to remove these meta tags before the image saving procedure?
Thank you all and Merry Christmas

Community Page
Last updated: