telemetry.internal.image_processing._bitmap
index
telemetry/internal/image_processing/_bitmap.py

Bitmap is a basic wrapper for image pixels. It includes some basic processing
tools: crop, find bounding box of a color and compute histogram of color values.

 
Modules
       
array
telemetry.internal.util.binary_manager
cStringIO
telemetry.util.color_histogram
telemetry.core.platform
png
telemetry.util.rgba_color
struct
subprocess

 
Classes
       
__builtin__.object
Bitmap

 
class Bitmap(__builtin__.object)
    Utilities for parsing and inspecting a bitmap.
 
  Methods defined here:
ColorHistogram(self, ignore_color=None, tolerance=0)
Crop(self, left, top, width, height)
Diff(self, other)
GetBoundingBox(self, color, tolerance=0)
GetPixelColor(self, x, y)
IsEqual(self, other, tolerance=0)
WritePngFile(self, path)
__init__(self, bpp, width, height, pixels, metadata=None)

Static methods defined here:
FromPng(png_data)
FromPngFile(path)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
bpp
height
metadata
pixels
width