Image has an unknown format - Version 9.19

0
After updating to 9.19 mendix version i am getting as an unknown image format error for some images. Earlier those images were working correctly in previous version Module – TcConnector  
asked
2 answers
3

Are these by any chance SVG images? I had that too. Mendix does not like an XML header anymore.

 

The link below is for native but this applies to any SVG image used anywhere in Mendix.

https://docs.mendix.com/refguide/mobile/designing-mobile-user-interfaces/images-icons-and-fonts/

 

Opening the SVG in SVGOMG and saving it fixed the issue for me.

As this is a connector module, if this is the cause of the issue, the supplier of the module should supply optimized images.

answered
2

Hi Affan,

it’s just a suggestion but, 

If you have commitly regularly/daily, which is recommended, revert/branch to the last commit that was working.

Or delete the images and import them again. If you use the same names they will be recognized in the app.

or you can try re-rendering the PNG file, then it should work,

Hope it helps!

answered