Dynamically create images from PDF thumbnails in PHP
Budget: $30 – $250 AUD
We have an email template which currently has static images of PDF newsletters or magazines in a number of background JPGs.
We would like to dynamically create these images 'on the fly' using PHP Imagick based on particular PDFs which change each day.
The images have a set size and background colour: examples are
http://images.traveldaily.com.au/images/background_600x403.jpg
http://images.traveldaily.com.au/images/background_320x761.jpg
https://images.traveldaily.com.au/images/background_375x758.jpg
The required function, written in PHP preferably, which we will then integrate into our platform ourselves, would allow us to pass in
a) the address of the PDF which would either be locally or remotely hosted
b) the background colour
c) the page numbers from the PDF to be used to generate the thumbnails included in the background image - e.g. 1 2 and 3 or 2 3 and 4 etc
d) the number of images to be included as thumbnails - 1, 2, 3 or perhaps more
e) an option for the created backgrounds to be either "newsletter format" (show the thumbnails as single pages) or "magazine format" (show the first thumbnail as a single page, overlaid with a background thumbnail from a double page spread in the magazine - like this: http://images.traveldaily.com.au/images/TCWbackground_480x958.jpg)
f) the address of a folder on our server where the output images are to be stored
We would like to dynamically create these images 'on the fly' using PHP Imagick based on particular PDFs which change each day.
The images have a set size and background colour: examples are
http://images.traveldaily.com.au/images/background_600x403.jpg
http://images.traveldaily.com.au/images/background_320x761.jpg
https://images.traveldaily.com.au/images/background_375x758.jpg
The required function, written in PHP preferably, which we will then integrate into our platform ourselves, would allow us to pass in
a) the address of the PDF which would either be locally or remotely hosted
b) the background colour
c) the page numbers from the PDF to be used to generate the thumbnails included in the background image - e.g. 1 2 and 3 or 2 3 and 4 etc
d) the number of images to be included as thumbnails - 1, 2, 3 or perhaps more
e) an option for the created backgrounds to be either "newsletter format" (show the thumbnails as single pages) or "magazine format" (show the first thumbnail as a single page, overlaid with a background thumbnail from a double page spread in the magazine - like this: http://images.traveldaily.com.au/images/TCWbackground_480x958.jpg)
f) the address of a folder on our server where the output images are to be stored