Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2015 08:17:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204620] [patch update unbreak] graphics/php-magickwand
Message-ID:  <bug-204620-13-GMAfWvWJu7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204620-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204620-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204620

Richard Toohey <knightofthecode@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |knightofthecode@gmail.com

--- Comment #1 from Richard Toohey <knightofthecode@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204620-13-GMAfWvWJu7>