[wp-trac] [WordPress Trac] #24871: Imagick Preserve Alpha Unit Tests Broken

WordPress Trac noreply at wordpress.org
Mon Jul 29 01:05:24 UTC 2013


#24871: Imagick Preserve Alpha Unit Tests Broken
--------------------------+-----------------------------
 Reporter:  bpetty        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  low           |  Milestone:  Awaiting Review
Component:  Unit Tests    |    Version:  3.5.2
 Severity:  minor         |   Keywords:  needs-patch
--------------------------+-----------------------------
 I'm still not entirely sure why the following two tests aren't working
 correctly, however, alpha in the resulting files they are testing for do
 in fact preserve alpha correctly.

 1. Tests_Image_Editor_Imagick::test_image_preserves_alpha_on_resize
 2. Tests_Image_Editor_Imagick::test_image_preserves_alpha

 It might be helpful though to at least update the code in
 WP_Image_UnitTestCase::assertImageAlphaAtPoint() to implement this in each
 editor engine so the Imagick tests actually use Imagick to check for alpha
 instead of GD, and in the process, that might resolve this.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24871>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list