It was Quite Interesting to do R & D and find the Solution.
The open source is "ImageMagicK"
Its available in windows and Linux.
I have used for Linux version.
Steps to Install in Linux.
Just you need to give yum install imagemagick, it will take bit of time, then once its installed
you need to download MagickWand (http://www.magickwand.org/download/php/).
After downloading the required zip, extract it and the go the location of MagicWand folder.
Its inside MagicWand (ie. [root@workgroup MagicWandForPhp-1.0.6]# ] the excute the command line ./configure
So it will get installed.
Then execute the command phpinze.
So now the opensoruce ImageMagick successfully installed in your server.
Now you can excute the command "display" to check.
To convert Pdf2image you can execute "Convert ["pdfname"] ["output image file name"]
If needed you can give the location of input file/out file.
For more info.
http://www.ioncannon.net/php/75/how-to-compile-imagemagick-for-php-by-hand/
http://ctsasikumar.
No comments:
Post a Comment