English | 日本
BCL Technologies
Shopping CartContact Us

Rasterize PHP in PDF


  1. PDF to EMF (Enhanced Metafile) image conversions.
  2. Rasterize PDF into BMP, GIF, JPEG, PNG, and TIFF image formats.
  3. Set page number, image color, image quality, image resolution, and page conversion timeout.

Code Snippet

  // get the name of the input PDF
  $inputFile =  "Test1.pdf";
  // get the name of the output Image
  $outputFile = "Out.jpg";
		$oConv = new COM("easyPDF.PDFConverter.8");
		$tImag = $oConv->PDF2Image;
		$tImag->ImageFormat = 1; //Jpeg
		$tImag->Convert($inputFile, $outputFile);
		print "Success";
	catch(com_exception $e)
		Print "error code".$e->getcode(). "\n";
		print $e->getMessage();



Download Free Trial

Request Pricing

Complete PDF Features
  • “easyPDF SDK setup was very straightforward, unlike our experience with other products. We wrote just a few lines of code to start using it.” Read the case study
  • “We evaluated many PDF tools and drivers. We even wrote our own. Except for BCL’s easyPDF SDK, all had limitations we couldn’t live with. Some only converted from MS Office and not very well. Others could not do annotation or text stamping on PDF documents. None were as easy to use and as easy to integrate.” Read the case study
© 1993 - , BCL Technologies.
All other trademarks are the property of their respective owners.