This PR fixes a very strange issue with imagemagick and pdf parsing.
As the objective for this environment is pdf -> img conversion, this is a critical component and a fix needed to be made.
to verify, execute this in the langpacks directory:
./tools/environment_validator.py -b ubuntu:20.04 -g python3 -s python37 -d imagemagick -t template -n python37-im -k YOUR_PROD_API_KEY
in a separate tab, you'll need a data collection you can write files to; but once you have that you can execute the following
curl localhost:9999 -H 'Content-Type: application/json' -d '{"input": "data://zeryx/collection/bitcoinica_18th_report.pdf", "output":"sample.png", "collection":"data://.my/collection_name"}'
This PR fixes a very strange issue with imagemagick and pdf parsing. As the objective for this environment is pdf -> img conversion, this is a critical component and a fix needed to be made.
to verify, execute this in the langpacks directory:
./tools/environment_validator.py -b ubuntu:20.04 -g python3 -s python37 -d imagemagick -t template -n python37-im -k YOUR_PROD_API_KEY
in a separate tab, you'll need a data collection you can write files to; but once you have that you can execute the following
curl localhost:9999 -H 'Content-Type: application/json' -d '{"input": "data://zeryx/collection/bitcoinica_18th_report.pdf", "output":"sample.png", "collection":"data://.my/collection_name"}'