[wp-trac] [WordPress Trac] #46073: Off by one error in Imagick testsuite

WordPress Trac noreply at wordpress.org
Wed Mar 27 05:21:45 UTC 2019


#46073: Off by one error in Imagick testsuite
-----------------------------------------+-----------------------------
 Reporter:  Fuegas                       |       Owner:  mikeschroder
     Type:  defect (bug)                 |      Status:  assigned
 Priority:  normal                       |   Milestone:  Future Release
Component:  Media                        |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+-----------------------------
Changes (by mikeschroder):

 * keywords:  has-patch => has-patch reporter-feedback
 * owner:  (none) => mikeschroder
 * status:  new => assigned


Comment:

 I was finally able to reproduce this, and think this should fix it.

 I uploaded [attachment:"46073.diff"] with 0->99 as the values, and
 [attachment:"one-blue-pixel-100x100.png"] which has exactly one blue pixel
 in the corner. I went with PNG because it seemed to be more likely to
 remain a single pixel in the correct color than JPEG.

 Does this fix the issue for you?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46073#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list