php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58748 Different results on almost same system
Submitted: 2009-07-03 00:30 UTC Modified: 2009-07-24 08:47 UTC
From: lstoumbos at hotmail dot com Assigned:
Status: No Feedback Package: imagick (PECL)
PHP Version: 5.2.4 OS: Ubuntu/8.04
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lstoumbos at hotmail dot com
New email:
PHP Version: OS:

 

 [2009-07-03 00:30 UTC] lstoumbos at hotmail dot com
Description:
------------
I have 2 systems that are almost identical. One is a netbook with the same version PHP as my server but when I run my php page using imagick I get 2 different images. The server is running 

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 15
model		: 2
model name	: Intel(R) Xeon(TM) CPU 2.40GHz

My netbook is running
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 28
model name	: Intel(R) Atom(TM) CPU N270   @ 1.60GHz


Reproduce code:
---------------
http://speedtech.gotdns.com/imagick/imagick.text

Expected result:
----------------
http://speedtech.gotdns.com/imagick/imagick_atom.png
http://speedtech.gotdns.com/imagick/imagick_xeon.png

Actual result:
--------------
As you can see the images are completely different.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-03 11:41 UTC] underdog194 at hotmail dot com
I wanted to add more information about the bug. My PHP version is the same on both machines. One is a Dell PowerEdge server with Xeon Processors and the other is a netbook with Intel Atom processors. lsb_release -a command says about the OS on the server is
Distributor ID:	Ubuntu
Description:	Ubuntu 8.04.3 LTS
Release:	8.04
Codename:	hardy

The OS on the netbook is
Distributor ID: Ubuntu
Description:    Ubuntu 8.04.2
Release:        8.04
Codename:       hardy
 [2009-07-03 11:45 UTC] mkoppanen@php.net
Running same ImageMagick versions?
 [2009-07-03 17:56 UTC] underdog194 at hotmail dot com
I did some more looking into it and it appears that the compositeimage function is working incorrectly.

Server version from phpinfo states
imagick module	enabled
imagick module version 	2.3.0-rc3
imagick classes 	Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
ImageMagick version 	ImageMagick 6.3.7 06/04/09 Q16 http://www.imagemagick.org
ImageMagick copyright 	Copyright (C) 1999-2008 ImageMagick Studio LLC
ImageMagick release date 	06/04/09 
Netbook information from phpinfo states
imagick module	enabled
imagick module version 	2.3.0-rc3
imagick classes 	Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
ImageMagick version 	ImageMagick 6.3.7 02/18/08 Q16 http://www.imagemagick.org
ImageMagick copyright 	Copyright (C) 1999-2008 ImageMagick Studio LLC
ImageMagick release date 	02/18/08
 [2009-07-03 18:03 UTC] underdog194 at hotmail dot com
I did some more testing and it appears to be the normalizeImage function. I removed it and it appears to work fine now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC