These methods worked for me, I so far have only tried out basic resizing with the installations.
Please do not send me any emails asking how to setup ImageMagick on your computer etc. as I do not have the knowledge to help you out.
If you have some other methods or notes that others may find useful email them to me and I will add them to the list.
You should install Ghostscript first if you want to do anything with pdf files.
You can check if you have Ghostscript installed with:
<?php
echo "<pre>";
system("which ghostscript");
system("ghostscript --version");
echo "</pre>";
?>
You may need to install wget if you want to do anything with webpages off site.
You can check if you have wget installed with:
<?php
echo "<pre>";
system("which wget");
system("wget --version");
echo "</pre>";
?>