Ivan Sraichuk
Ivan Sraichuk
We can by using [_type ](https://github.com/image-rs/image/blob/main/src/codecs/ico/decoder.rs#L160) (It will 1 for ICO or 2 for CUR, other values will be invalid). [Reference](https://en.wikipedia.org/wiki/ICO_(file_format)#Header) I can try to improve PR checking the type...
Hello! No, I found this result in a few examples, which I tried and which have the same issue. I will try to check `msitools`. But their code is harder...
Probably, I need to build msitools and check if it works there :)
`msitools` works correct on [SourcetreeEnterpriseSetup_3.4.15.msi](https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourcetreeEnterpriseSetup_3.4.15.msi), maybe there is some condition at their code, that I miss
@mdsteele I think that @SkiFire13 right. I adjusted due to his suggestion and tested with a few msi files and it looks okay. Please check also, I will run more...
This is the same problem, that I fix at #18