code: function(type, quality) {
  				if (!this.size) {
  					throw new x.DOMException(x.DOMException.INVALID_STATE_ERR);
  				}
  
  				if (!type) {
  					type = 'image/jpeg';
  				}
  
  				if (type === 'image/jpeg' && !quality) {
  					quality = 90;
  				}
  
  				return this.getRuntime().exec.call(this, 'Image', 'getAsBlob', type, quality);
  			}
docs: Retrieves image in it's current state as mOxie.Blob object. Cannot be run on empty or image in progress (throws
  DOMException.INVALID_STATE_ERR).
  
  @method getAsBlob
  @param {String} [type="image/jpeg"] Mime type of resulting blob. Can either be image/jpeg or image/png
  @param {Number} [quality=90] Applicable only together with mime type image/jpeg
  @return {Blob} Image as Blob