telemetry.internal.image_processing.image_util_bitmap_impl | index telemetry/internal/image_processing/image_util_bitmap_impl.py

`# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.`

Modules
`` |  |

telemetry.internal.image_processing._bitmap |  |  |

Functions
`` |  |

AreEqual(bitmap1, bitmap2, tolerance, _)

Channels(bitmap)

Crop(bitmap, left, top, width, height)

Diff(bitmap1, bitmap2)

FromPng(png_data)

FromPngFile(path)

FromRGBPixels(width, height, pixels, bpp)

GetBoundingBox(bitmap, color, tolerance)

GetColorHistogram(bitmap, ignore_color, tolerance)

GetPixelColor(bitmap, x, y)

Height(bitmap)

Pixels(bitmap)

Width(bitmap)

WritePngFile(bitmap, path)

Data
`` |  | division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)