Add a new method to get the representation of an image
This commit is contained in:
parent
b2059ec8af
commit
b3da5370c0
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ class NativeImage : public mate::Wrappable {
|
|||
private:
|
||||
v8::Local<v8::Value> ToPNG(v8::Isolate* isolate);
|
||||
v8::Local<v8::Value> ToJPEG(v8::Isolate* isolate, int quality);
|
||||
v8::Local<v8::Value> AsNativeRepresentation(v8::Isolate* isolate, mate::Arguments* args);
|
||||
std::string ToDataURL();
|
||||
bool IsEmpty();
|
||||
gfx::Size GetSize();
|
||||
|
|
Loading…
Reference in a new issue