• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generating Thumbnails from PDF's

#7
[eluser]Jim OHalloran[/eluser]
Last time I did this I used FPDI to split the PDF into individual pages, then used ImageMagic's convert progrem to convert those to JPEGs. Worked well, but PDF's which use CMYK colours will be converted to JPEGs which most browsers can't render (but Photoshop and most other tools will open the JPEGs fine). The workaround for this was to use the PHP GD functions to resize the JPEG generated by convert, and GD will take care of converting the colours for you.

Jim.


Messages In This Thread
Generating Thumbnails from PDF's - by El Forum - 07-06-2007, 10:25 AM
Generating Thumbnails from PDF's - by El Forum - 07-06-2007, 01:26 PM
Generating Thumbnails from PDF's - by El Forum - 07-06-2007, 02:06 PM
Generating Thumbnails from PDF's - by El Forum - 07-06-2007, 02:25 PM
Generating Thumbnails from PDF's - by El Forum - 07-06-2007, 02:41 PM
Generating Thumbnails from PDF's - by El Forum - 07-06-2007, 02:51 PM
Generating Thumbnails from PDF's - by El Forum - 07-07-2007, 07:24 PM
Generating Thumbnails from PDF's - by El Forum - 07-17-2007, 01:06 AM
Generating Thumbnails from PDF's - by El Forum - 07-17-2007, 07:40 PM
Generating Thumbnails from PDF's - by El Forum - 07-20-2007, 08:30 AM
Generating Thumbnails from PDF's - by El Forum - 07-31-2007, 04:58 AM
Generating Thumbnails from PDF's - by El Forum - 08-02-2007, 10:29 AM
Generating Thumbnails from PDF's - by El Forum - 08-28-2008, 07:26 AM
Generating Thumbnails from PDF's - by El Forum - 08-28-2008, 01:30 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.