[Telemetry] Apply transparency workaround everywhere

Applies a workaround for transparent PNGs (namely for Fuchsia) that was
present in the numpy/cv2 codepath to the pure Python codepaths. This
fixes the issue where pixel tests on Fuchsia fail when under Python 3
due to having a black background caused by transparency.

Bug: chromium:1198237
Change-Id: Icc809440369fe0aa34568ce226b6fd6fa9f68bcb
Reviewed-on: https://chromium-review.googlesource.com/c/catapult/+/3283331
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Wenbin Zhang <wenbinzhang@google.com>
Reviewed-by: Wenbin Zhang <wenbinzhang@google.com>
2 files changed
tree: d948f3e14b4ecfca21c7248ce767a2a1d7f3458c
  1. bin/
  2. catapult_build/
  3. common/
  4. dashboard/
  5. dependency_manager/
  6. devil/
  7. docs/
  8. experimental/
  9. firefighter/
  10. hooks/
  11. infra/
  12. netlog_viewer/
  13. systrace/
  14. telemetry/
  15. third_party/
  16. trace_processor/
  17. tracing/
  18. web_page_replay_go/
  19. .eslintignore
  20. .eslintrc
  21. .gcloudignore
  22. .gitignore
  23. .vpython
  24. .vpython3
  25. AUTHORS
  26. BUILD.gn
  27. codereview.settings
  28. CONTRIBUTING.md
  29. DIR_METADATA
  30. generate_telemetry_build.py
  31. LICENSE
  32. navbar.md
  33. OWNERS
  34. PRESUBMIT.py
  35. pylintrc
  36. README.md
  37. WATCHLISTS
README.md

Catapult

Catapult is the home for several performance tools that span from gathering, displaying and analyzing performance data. This includes:

These tools were created by Chromium developers for performance analysis, testing, and monitoring of Chrome, but they can also be used for analyzing and monitoring websites, and eventually Android apps.

Contributing

Please see our contributor's guide