[Bug 204620] [patch update unbreak] graphics/php-magickwand
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Nov 17 08:17:40 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204620
Richard Toohey <knightofthecode at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |knightofthecode at gmail.com
--- Comment #1 from Richard Toohey <knightofthecode at gmail.com> ---
This builds and works in basic testing on amd64 and PHP 5.6.
> pkg info | grep magickw
php-magickwand-1.0.9_4 PHP extension to manipulate images
> pkg info | grep Image
ImageMagick-6.9.2.4,1 Image processing tools
Test was:
<?php
$w=NewMagickWand();
MagickSetResolution($w,200,200);
MagickReadImage($w,'logo-red.png');
if (MagickGetImageWidth($w) > 1000) {
$height=1000*MagickGetImageHeight($w)/MagickGetImageWidth($w);
MagickResizeImage($w,1000,$height,MW_QuadraticFilter,1.0);
}
MagickSetImageFormat($w,'jpg');
$out=MagickWriteImage($w,'blob.jpg');
?>
Many thanks for the quick fix; not sure if you need any more information?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list