Closed draconas1 closed 5 years ago
I'm making a mod parser for Stellaris, where most of the UI icons are stored as DDS images.
Most parse, but some of them get "Index was outside the bounds of the array" when calling Pfim.Pfim.FromFile
Sample images that have failed to load: https://drive.google.com/open?id=1NRYCqqh1C_vvLgKUHQxzoVXYq6g2CGfc
Apologies, I do not understand DDS files well enough to know what is different and causing it to fail while others load fine.
I'm making a mod parser for Stellaris
Small world. Pfim was created for EU3 😄
Excellent thanks. Look forward to the update.
Pfim 0.6.0 has been released with this bugfix, thank you for the report.
I'm making a mod parser for Stellaris, where most of the UI icons are stored as DDS images.
Most parse, but some of them get "Index was outside the bounds of the array" when calling Pfim.Pfim.FromFile
Sample images that have failed to load: https://drive.google.com/open?id=1NRYCqqh1C_vvLgKUHQxzoVXYq6g2CGfc
Apologies, I do not understand DDS files well enough to know what is different and causing it to fail while others load fine.