My problem is a bit strange. I've been working on a local Ubuntu environment with PHP5.3 & ImageMagick 6.6.2-6. My recent task has been to take an existing image, rotate it and place it on top of another image. I have it working great on my machine, with the background of the rotated image keeping its transparency, by using the following code:
Code: Select all
$needle->rotateImage(new ImagickPixel('transparent'), $angle);
The only difference that we've been able to find is that the staging server is running ImageMagick 6.7. I've been trying to upgrade to that, but haven't had much luck. The Ubuntu Synaptic Package Manager shows 6.6 as the most recent version and, while I've been able to download and install 6.7 manually, phpinfo() is still showing 6.6 as the version PHP is using.
So my question is do you guys think it could be my code causing the problems, or should I try and get ImageMagick updated? I don't have access to their staging server, so I'm kind of flying blind at this point. Like I said, the rotate works fine on my machine.. Any help would be greatly appreciated. I'm still fairly new to running PHP on Ubuntu and having access to make changes, so the more details/explanations the better. Thanks for your time!
Nate