lib/penrose.js
function(styleName, path, format) {
    const uri = this.getStylePath(styleName, path, format);
    const scheme = this.getScheme(uri);

    if (PUBLIC === scheme || TEMPORARY === scheme) {
      return '/' + this.resolvePath(uri);
    }

    throw new Error('Scheme `' + scheme + '` not supported');
  }
function(styleName, path, format) {
    const uri = this.getStylePath(styleName, path, format);
    const scheme = this.getScheme(uri);

    if (PUBLIC === scheme || TEMPORARY === scheme) {
      return '/' + this.resolvePath(uri);
    }

    throw new Error('Scheme `' + scheme + '` not supported');
  }
function ( styleName , path , format ) { const uri = this . getStylePath ( styleName , path , format ) ; const scheme = this . getScheme ( uri ) ; if ( PUBLIC === scheme || TEMPORARY === scheme ) { return '/' + this . resolvePath ( uri ) ; } throw new Error ( 'Scheme `' + scheme + '` not supported' ) ; }
Returns absolute URL to derivative image.

@param   {string} styleName
@param   {string} path
@param   {string} format
@returns {string}
Returns absolute URL to derivative image .