- Electron version: 1.2.7
- Operating system: macOS 10.11.5

I'd like to add the option to copy an image directly from a context menu, but the only ways I can see to access the data are:

1) Redownload the image srcURL, resulting in an extra HTTP request and an undefined delay before the clipboard is updated
2) Use the DOM to add the image to a canvas element and pull the base64 out of that, which won't work for cross origin urls.

Could the image data be made available from the context menu, or else provide some other way to access it from an img tag in webcontents?

atom/browser/api/atom_api_web_contents.h
void GoBack();
  void GoForward();
  void GoToOffset(int offset);
  bool IsCrashed() const;
  void SetUserAgent(const std::string& user_agent, mate::Arguments* args);
  std::string GetUserAgent();
  void InsertCSS(const std::string& css);
  bool SavePage(const base::FilePath& full_file_path,
                const content::SavePageType& save_type,
                const SavePageHandler::SavePageCallback& callback);
  void OpenDevTools(mate::Arguments* args);
  void CloseDevTools();
  bool IsDevToolsOpened();
  bool IsDevToolsFocused();
  void ToggleDevTools();
  void EnableDeviceEmulation(const blink::WebDeviceEmulationParams& params);
  void DisableDeviceEmulation();
  void InspectElement(int x, int y);
  void InspectServiceWorker();
  void HasServiceWorker(const base::Callback<void(bool)>&);
  void UnregisterServiceWorker(const base::Callback<void(bool)>&);
  void SetAudioMuted(bool muted);
  bool IsAudioMuted();
  void Print(mate::Arguments* args);
  
  void PrintToPDF(const base::DictionaryValue& setting,
                  const PrintToPDFCallback& callback);
  
  void AddWorkSpace(mate::Arguments* args, const base::FilePath& path);
  void RemoveWorkSpace(mate::Arguments* args, const base::FilePath& path);