install Pixels
Sets ImageInfo to info following the rules in setImageInfo(), and creates PixelRef containing pixels and rowBytes.
If ImageInfo could not be set, or rowBytes is less than info.getMinRowBytes(): calls reset(), and returns false.
Return
true if ImageInfo is set to info
Parameters
info
contains width, height, SkAlphaType, SkColorType, SkColorSpace
pixels
pixel storage
row Bytes
size of pixel row or larger