php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68269 image->normalizeImage(Imagick::CHANNEL_ALL); is not default
Submitted: 2014-10-20 12:50 UTC Modified: 2015-04-01 16:24 UTC
From: alexufo at mail dot ru Assigned: danack (profile)
Status: Closed Package: imagick (PECL)
PHP Version: 5.6.2 OS: windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alexufo at mail dot ru
New email:
PHP Version: OS:

 

 [2014-10-20 12:50 UTC] alexufo at mail dot ru
Description:
------------
http://pecl.php.net/package/imagick/3.2.0b2/windows

In 3.2.0b2 should add Imagick::CHANNEL_ALL in normalizeImage()
In 3.1.2  works well by default.

Test script:
---------------
<?php header("Content-Type: image/jpeg");
 
$image = new Imagick("C://3.jpg");
$image->normalizeImage(); // this is return bad photo.
$image->normalizeImage(Imagick::CHANNEL_ALL); // this is works well!
echo	$image;

?>

Actual result:
--------------
Bad image color. I think default settings in normalizeImage()  is Imagick::CHANNEL_BLUE;

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-01 16:24 UTC] danack@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: danack
 [2015-04-01 16:24 UTC] danack@php.net
This is fixed in Imagick 3.3.0RC1
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Sep 20 12:00:01 2025 UTC