My method works perfectly on my local machine, but on Heroku this only works with non-HTTPS images.
This works on Heroku:
result = image.run_command('convert', 'http://image.jpg', 'histogram:info:')
This does not work on Heroku:
result = image.run_command('convert', 'https://alt-image.jpg', 'histogram:info:')
Error:
failed with error:
convert-im6.q16: not authorized `HTTPS' @ error/delegate.c/InvokeDelegate/1717.
convert-im6.q16: unable to open file `': No such file or directory @ error/constitute.c/ReadImage/544.
convert-im6.q16: no images defined `histogram:info:' @ error/convert.c/ConvertImageCommand/3258.
Both work perfectly on my local machine. I've tried testing images from all different sources, images hosted on Imgur, S3, Reddit, Wordpress - none of them are working, do I need to include some sort of access key?
Confused as to why this works offline but not on Heroku.