whole_func_string: function getImages() {
      var images = this.internal.collections[namespace + 'images']; //first run, so initialise stuff
  
      if (!images) {
        this.internal.collections[namespace + 'images'] = images = {};
        this.internal.events.subscribe('putResources', putResourcesCallback);
        this.internal.events.subscribe('putXobjectDict', putXObjectsDictCallback);
      }
  
      return images;
    }
func_code_string: function getImages() {
      var images = this.internal.collections[namespace + 'images']; //first run, so initialise stuff
  
      if (!images) {
        this.internal.collections[namespace + 'images'] = images = {};
        this.internal.events.subscribe('putResources', putResourcesCallback);
        this.internal.events.subscribe('putXobjectDict', putXObjectsDictCallback);
      }
  
      return images;
    }
func_documentation_string: Image functionality ported from pdf.js