• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
convert pdf to jpg in codeigniter

#1
Hi Friends,

how can I convert pdf to jpg.

Is there anyone can help me?
Reply

#2
For that you need a library as Imagemagick on your server. Then you can convert your pfd like that:

PHP Code:
$imagick = new Imagick();
$imagick->readImage('mytest.pdf');
$imagick->writeImage('output.jpg'); 

Further details at http://php.net/manual/en/book.imagick.php

Reply

#3
thank you for replay. is there any possible to convert the dwg to jpg...
Reply

#4
(12-26-2014, 03:19 AM)vallapureddy Wrote: Hi Friends,

how can I convert pdf to jpg.

Is there anyone can help me?

You can use an open source library like http://www.foolabs.com/xpdf/ or a free software with UI like http://pdf-to-jpg-convert.en.softonic.com
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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