Krishna kushwaha 11 hours ago路 1 min read if you are using latest macOS then you can run via brew or for oldest try to download manual from official website and other link below . install imagemagick: Successfully: install ghostscript: Successfully: check installation i have some file like jpeg, jpg, pdf so wanna conver any one origin i wanna convert origin.jpeg(input file name) 2 converted.png(result file name) if you have script then put this then run script sudo php script.php Bonus point script for laravel Full Stack Developer | IOS Developer | Research Developer | NIT