Bug 592498 - colorFloodFillImage deprecated
Summary: colorFloodFillImage deprecated
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: php-pecl-imagick
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Pavel Alexeev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-15 00:31 UTC by Philippe
Modified: 2010-05-31 12:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-31 12:07:33 UTC
Type: ---


Attachments (Terms of Use)

Description Philippe 2010-05-15 00:31:42 UTC
Description of problem:
Some functions into wrapper pecl-imagick shows wrong deprecate warnings !

Version-Release number of selected component (if applicable):
Same on Fedora 11 & 12

How reproducible:
Always

Steps to Reproduce:
1.Following code
<?php
error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', true);

$image = new Imagick("./homeNavBtmBg.png");
$image->colorFloodfillImage( "red", 0, "white", 1, 1);

echo method_exists($image, 'floodFillPaintImage') ? 'method floodFillPaintImage exists' : 'method floodFillPaintImage dont exist';
echo method_exists($image, 'paintFloodFillImage') ? 'method paintFloodFillImage exists' : 'method paintFloodFillImage dont exist';
echo method_exists($image, 'floodFillColorImage') ? 'method floodFillColorImage exists' : 'method floodFillColorImage dont exist';
echo method_exists($image, 'colorFloodFillImage') ? 'method colorFloodFillImage exists' : 'method colorFloodFillImage dont exist';
?>
  
Actual results:
method floodFillPaintImage dont exist
method paintFloodFillImage exist
method floodFillColorImage dont exist
method colorFloodFillImage exists

Expected results:
method floodFillPaintImage exist
method floodFillColorImage exist

Additional info:
ImageMagick-6.5.1.2-2.fc11.x86_64
php-pecl-imagick-2.2.2-2.fc11.x86_64

I have heard problem is fixed in version 2.3.0 (stable) of php-pecl-imagick but fedora 12 and even 13 still stick with version 2.2.2 whereas functions in ImageMagick differs, why ? 
http://pecl.php.net/package/imagick

Comment 1 Pavel Alexeev 2010-05-15 06:47:47 UTC
Request version update was fully enough ;)

Please, try this build: http://koji.fedoraproject.org/koji/taskinfo?taskID=2189139

Comment 2 Philippe 2010-05-15 10:33:58 UTC
Well i'm not used to bugzilla , only my 2nd time submit in 10years+ ;)

I wonder .. fedora 13 will be out in a couple of days , how come it's still using this php-pecl-imagick-2.2 version which seems quite old ?

I'll be trying php-pecl-imagick-2.3.0-5.fc14.src.rpm, x86_64 asap and make feedback , hope it builds on fc11 :)

Regards

Comment 3 Pavel Alexeev 2010-05-15 10:57:56 UTC
Oh, I did not look you speak about Fedora 11. It is EOL coming in few days... I do not see any reason update something in it...

Off course in Fedora 13 I'll do that.

Comment 4 Philippe 2010-05-15 16:53:58 UTC
Sorry for this assumed lame question but,
how may i get php-pecl-imagick-2.3.0-5.fc14.src.rpm, x86_64 from your link http://koji.fedoraproject.org/koji/taskinfo?taskID=2189139

I tried with koji i could only get regular 2.2.2 package
and koji download-build 2189139 returns no such build.
"koji latest-pkg dist-f13 php-pecl-imagick" returns 2.2.2-4 as expected.

Comment 5 Pavel Alexeev 2010-05-15 18:03:43 UTC
Ok, look this for Fedora 11 http://koji.fedoraproject.org/koji/taskinfo?taskID=2190126

Comment 6 Philippe 2010-05-31 12:07:33 UTC
Sorry for late update !
Builds and works perfectly !
Thank you very much.


Note You need to log in before you can comment on or make changes to this bug.