Previews Thumbnails Cropped in Windows Explorer

Hi,

My NextCloud is setup in virtual files mode.
Images in folder are showed in windows explorer with a square cropped thumbnail and previews.

We are using nextcloud for graphic design, and not being able to view images non-cropped in windows explorer is a huge problem.

The same file outside the nextcloud folder is perfectly rendered so I suppose it has to do with the preview generator on the server.

Here is a 500x100 PNG image in a simple folder (Left) and in Nextcloud (Right)

Same problem if the file is created on the computer then uploaded, or created on another computer and downloaded.

I know Nextcloud is generating previews of files, is there a way to force it to not crop those previews ?

Thank you very much

Did some tests :

I removed all of the preview folder
Change my config to this :

'enable_previews' => true,
'preview_max_x' => 512,
'preview_max_y' => 512,

Recreated the same file
500x100.png

2 Previews are generated :

100-100-crop.png
500-100-max.png

100-100-crop.png
500-100-max.png

And of course same issue on windows explorer

Ugly workaround here : https://github.com/nextcloud/desktop/issues/6154

Basically, it forces the server to use a β€œdon’t crop” option when asked for a preview, regardless of what was asked.