Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open ico file without extension #539

Open
xxiieao opened this issue Feb 24, 2022 · 0 comments
Open

Can't open ico file without extension #539

xxiieao opened this issue Feb 24, 2022 · 0 comments

Comments

@xxiieao
Copy link

xxiieao commented Feb 24, 2022

Hi,

Not sure this is a bug. We received a MiniMagick::Invalid error, when trying to convert an ICO file to PNG. That ico file doesn't has extension name though. It looks like minimagick can't identify an ICO file, if no extension in filename.

Manage to fix it by adding the ext parameter.

MiniMagick::Image.open(path, ".ico") 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant