encodeImageInPlace method

void encodeImageInPlace()

Implementation

void encodeImageInPlace() {
  if (this._buffer != null) {
    return;
  }

  if (uniqueId == null) {
    throw Exception("ImageRef is already released");
  }

  this._buffer = encodeImage();
}