Open sandlacharme opened 6 years ago
solved.
I'm at the same point. What has the final solution?
Not really solved.. I closed the ticket toi quickly..no solution yet.. I Will têt another plugin..
Will try another plugin sorry
did you install ImageMagick?
Yes and imagemagik works fine..i use it To convert images
For me, the issue seems to be related to the fact that I'm on Windows.
I installed ImageMagik with the legacy tools and when running cordova-icon
it was returning almost instantly without actually doing anything, so I made the changes from PR #97 and was able to get ✗ Error: Command failed: Invalid Parameter - -set
to output.
@bayssmekanique Looking at another issue #90 and I think they solve it, atleast I was able to adapt their comments to fix the Invalid Parameter - -set.
What I did was find the global install of cordova-icon ( for me it was "C:\Users\Stephen\AppData\Roaming\npm\node_modules\cordova-icon\index.js") then add this line
ig.convert.path = "C:/Program Files/ImageMagick-7.0.7-Q16/convert.exe";
on line 10 of the package file index.js between the require statements and the settings.
Of course you will need to update paths for your computer.
I hope that helps you too.
Thank you so much, @stephen-gobin you save my day.
This is what I solved.
choco install imagemagick.tool
C:/ProgramData/chocolatey/lib/imagemagick.tool/tools/convert.exe
Make sure you tick "install legacy utilities (e.g. convert)" at ImageMagick install wizard. That did fix it for me :)
Hello dear developpers, I just install cordova-icon and imagemagick. my cordova platform is 8.0.0. I put in the main Folder an Icon.png in 1024 px. When I run cordova-icon , no icons seems to be generated , nothing appears : here is my log : Checking Project & Icon ✓ platforms found: ios, android ✓ icon.png exists ✓ config.xml exists
Generating Icons for ios
Any Idea ? Thanks a lot