Export As... mng swaps width and height
GIMP version: 2.10.4
Operating System: Windows 7 Pro x64
Package: Installer from gimp.org
Description of the bug
I have created an image of size 54 width x 32 height, then added 2 layers from files (File->Open As Layers...) also of the same size. Then File->Export... animation.mng created a file which has the size: 32 width x 54 height - it has swapped width and height. The swapped width and height are shown by two other applications (one of them is XnView). IrfanView shows corrupted animation (size of the file as 54x54, but individual images are cut to width 32 anyway).
I attach an example xcf file which I tried to export as mng.
Reproduction
Is the bug reproducible? [Always]
Reproduction steps:
- Load the pump - running.xcf
- File->Export... in mng format
- Open the file in XnView or any other image browser capable of mng files.
Expected result: width and height as specified in GIMP image
Actual result: swapped width and height pump_-_running.mng