Search found 7 matches

by Dulfer
2011-01-18T13:15:27-07:00
Forum: IMagick
Topic: Tiff To PDF Conversion
Replies: 2
Views: 9451

Re: Tiff To PDF Conversion

ini_set('error_reporting', E_ALL); ini_set('display_errors', 1); ini_set('display_startup_errors', 1); echo 'getVersion: '; var_dump (Imagick::getVersion()); echo ' <br />'; $Saveloc = 'G31D.TIF'; $PdfFile = 'G31D.pdf'; $document = new Imagick($Saveloc); /// Saveloc - Tiff File Location, PdfFile ...
by Dulfer
2011-01-16T06:36:48-07:00
Forum: IMagick
Topic: 'ImagickException' - error/png.c/ReadPNGImage/3183'
Replies: 2
Views: 9702

Re: 'ImagickException' - error/png.c/ReadPNGImage/3183'

Upgrade Perl 5.8 to 5.10 and upgrade 300 ports depend on perl. Ok.
by Dulfer
2011-01-12T11:33:05-07:00
Forum: IMagick
Topic: Imagick class
Replies: 3
Views: 11194

Re: Imagick class

Sorry
path - full
examle - '/usr/local/bin/php -m'
or do it

Code: Select all

<?php
  if (extension_loaded('imagick'))
  { 
	echo 'imagick is load';
  }
  else
  {
	 echo 'imagick is not load'; 
  }
?> 
by Dulfer
2011-01-11T11:50:29-07:00
Forum: IMagick
Topic: Imagick class
Replies: 3
Views: 11194

Re: Imagick class

<?php
system ('php -m', $r);
var_dump($r);
?>
??
by Dulfer
2011-01-11T11:49:28-07:00
Forum: IMagick
Topic: 'ImagickException' - error/png.c/ReadPNGImage/3183'
Replies: 2
Views: 9702

Re: 'ImagickException' - error/png.c/ReadPNGImage/3183'

Does anyone work?
PHP-5.2.16 (17)
ImageMagick-6.6.5 (6 or 7)
imagick-3.0.1
png-1.4.5
by Dulfer
2011-01-10T10:52:22-07:00
Forum: IMagick
Topic: How to create a small, 1bpp BMP text image?
Replies: 9
Views: 20471

Re: How to create a small, 1bpp BMP text image?

$image = new Imagick(); $draw = new ImagickDraw(); $color = new ImagickPixel('black'); /* Font properties */ $draw->setFontSize(12); $draw->setFillColor($color); $draw->setStrokeAntialias(true); $draw->setTextAntialias(true); $wtext = "This is test text"; /* Get font metrics */ $metrics = $image ...
by Dulfer
2011-01-06T01:24:23-07:00
Forum: IMagick
Topic: 'ImagickException' - error/png.c/ReadPNGImage/3183'
Replies: 2
Views: 9702

'ImagickException' - error/png.c/ReadPNGImage/3183'

I do not speak English Only code echo 'getVersion: '; var_dump (Imagick::getVersion()).' <br />'; $image_file = 'firefox-error.png'; exec("/usr/local/bin/identify -verbose ".$image_file,$out); print_r($out); $im = new Imagick(); $im->readImage($image_file); echo 'getImageFormat: '; var_dump($im ...