- Timestamp:
- 02/08/2021 08:57:07 PM (4 years ago)
- Location:
- branches/3.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9
- Property svn:mergeinfo changed
/branches/5.0 merged: 43836 /trunk merged: 44176,45445,45745,45762,45783-45784,45800,45819,45885,46320,46999,47225,47912,48121,49267,49335,49358,49360,49362
- Property svn:mergeinfo changed
-
branches/3.9/tests/phpunit/tests/image/editor_imagick.php
r47329 r50249 470 470 $editor->save( $save_to_file ); 471 471 472 $this->assertImageAlphaAtPoint( $save_to_file, array( 0,0 ), 127 ); 472 $im = new Imagick( $save_to_file ); 473 $pixel = $im->getImagePixelColor( 0, 0 ); 474 $expected = $pixel->getColorValue( imagick::COLOR_ALPHA ); 475 476 $this->assertImageAlphaAtPointImagick( $save_to_file, array( 0,0 ), $expected ); 473 477 474 478 unlink( $save_to_file ); … … 490 494 $editor->save( $save_to_file ); 491 495 492 $this->assertImageAlphaAtPoint( $save_to_file, array( 0,0 ), 127 ); 496 $im = new Imagick( $save_to_file ); 497 $pixel = $im->getImagePixelColor( 0, 0 ); 498 $expected = $pixel->getColorValue( imagick::COLOR_ALPHA ); 499 500 $this->assertImageAlphaAtPointImagick( $save_to_file, array( 0,0 ), $expected ); 493 501 494 502 unlink( $save_to_file );
Note: See TracChangeset
for help on using the changeset viewer.