Add NativeImage.ToJPEG
This commit is contained in:
parent
549df36f00
commit
53fca43d89
2 changed files with 11 additions and 0 deletions
|
@ -32,6 +32,7 @@ class NativeImage : public mate::Wrappable {
|
|||
|
||||
private:
|
||||
v8::Handle<v8::Value> ToPNG(v8::Isolate* isolate);
|
||||
v8::Handle<v8::Value> ToJPEG(v8::Isolate* isolate, int quality);
|
||||
bool IsEmpty();
|
||||
gfx::Size GetSize();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue