Adds option to get raw data from NativeImage
This commit is contained in:
parent
af80b9a7df
commit
21962be60e
2 changed files with 11 additions and 0 deletions
|
@ -70,6 +70,7 @@ class NativeImage : public mate::Wrappable<NativeImage> {
|
|||
private:
|
||||
v8::Local<v8::Value> ToPNG(v8::Isolate* isolate);
|
||||
v8::Local<v8::Value> ToJPEG(v8::Isolate* isolate, int quality);
|
||||
v8::Local<v8::Value> ToRawBuffer(v8::Isolate* isolate);
|
||||
v8::Local<v8::Value> GetNativeHandle(
|
||||
v8::Isolate* isolate,
|
||||
mate::Arguments* args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue