Re: Screenshot pdf from AWS hosted django app

2014-07-31 Thread cmawebsite
And if local dev is an issue, you could try setting MEDIA_URL to your live site. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Screenshot pdf from AWS hosted django app

2014-07-31 Thread cmawebsite
I just use commandline imagemagick instead of PythonMagic, if the python bindings are the issue getting imagemagick to work. cmd = 'convert -density 300 -flatten -interlace line -quality 92 -colorspace sRGB -thumbnail'.split() + size + [default_storage.path(name) + '[0]', 'jpg:-'] proc =

Re: Screenshot pdf from AWS hosted django app

2014-07-25 Thread Lee Hinde
On Fri, Jul 25, 2014 at 4:00 PM, Ralph Lewis wrote: > I am hosting a django webapp in AWS and that is running fine, no errors. I > now want to be able to take a screenshot of the first page of any pdf that > is uploaded to the webapp. I have not had any luck trying to

Screenshot pdf from AWS hosted django app

2014-07-25 Thread Ralph Lewis
I am hosting a django webapp in AWS and that is running fine, no errors. I now want to be able to take a screenshot of the first page of any pdf that is uploaded to the webapp. I have not had any luck trying to screenshot a pdf with python. I have heard this can be done with PythonMagick,