dtcc.Raster.from_proto(pb: Raster | bytes)[source]

Initialize the Raster object from a protobuf representation.

Parameters:
pb : Union[proto.Raster, bytes]

A protobuf representation of the Raster or a bytes object.

Return type:

None