createfromwbmp.phpt 267 B

123456789101112131415
  1. --TEST--
  2. imagecreatefromwbmp
  3. --EXTENSIONS--
  4. gd
  5. --FILE--
  6. <?php
  7. $file = __DIR__ . '/src.wbmp';
  8. $im2 = imagecreatefromwbmp($file);
  9. echo 'test create from wbmp: ';
  10. echo imagecolorat($im2, 3,3) == 0x0 ? 'ok' : 'failed';
  11. echo "\n";
  12. ?>
  13. --EXPECT--
  14. test create from wbmp: ok