Public bug reported:

We use php-imagick to make image compositions on our servers.  On July
25 we got an upgrade of imagemagick, from 6.8.9.9-7ubuntu5.7 to
8:6.8.9.9-7ubuntu5.8.  After that upgrade our webservers, using the php
imagick bindings, stopped making composites.  The composite images just
have the background layer showing, with no overlay layer composited on
top.

In PHP there are no errors or exceptions, and other imagick functions
work fine.  Reading images, scaling, making new images, rendering to
bytes, all work fine.  It is only the composite functions, in php
bindings, that are not working.

I downgraded our webservers to imagemagick 6.8.9.9-7ubuntu5, which is
still available in the ubuntu archives, and the php composite functions
started working again.  6.8.9.9-7ubuntu5.7 is no longer available in the
archives (http://security.ubuntu.com/ubuntu/pool/main/i/imagemagick/).

A test script to reproduce the bug is attached to this ticket.  On
version 6.8.9.9-7ubuntu5 this will show the ubuntu logo over a gray
background.  On the latest version, 6.8.9.9-7ubuntu5.8, this will show
garbled fragments of the ubuntu logo over gray background, or perhaps
just an empty gray background.

This bug was identified on Ubuntu 16.04.2 LTS

** Affects: imagemagick (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "php script to reproduce the issue"
   
https://bugs.launchpad.net/bugs/1707015/+attachment/4922539/+files/image-composition-bug.php

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707015

Title:
  image composite functions not working in php

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1707015/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to