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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 14:01:31 2024 UTC