@sgoerger i found an ugly workaround.
The plugin internally uses another lib for the compression part.
This lib has had an update that fixes the rotation problem.
But the plugin still uses the older version.
The workaround is to modify plugin file where this compress.js script is raw included to include the new version instead.
change /wp-content/plugins/images-optimize-and-upload-cf7/frontend/assets/libs.js
replace whole line 132 by the content of this :
https://unpkg.com/[email protected]/dist/index.js