code: function createRGBPixelsFromImage(name) {
      
      var rgbPixels = new Promise(function(success, failure) {
      
          try {
              getPixels(name, function(err, pixels) {
                  
                  if(err) {
                      failure(err);
                  } else {
                      success(pixels);
                  }
                  
              });
          } catch (e) {
              failure(e);
          }
  
      });
  
      return rgbPixels;
  
  }
docs: === constructors ===