mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-24 03:46:03 +08:00
Add NativeImage.ToJPEG
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user