Welcome Guest, Not a member yet? Register   Sign In
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




Theme © iAndrew 2016 - Forum software by © MyBB