occur error when use GdkPixbuf savev method in gjs
- From: Yuren Ju <yurenju gmail com>
- To: javascript-list gnome org
- Subject: occur error when use GdkPixbuf savev method in gjs
- Date: Tue, 29 Mar 2011 06:31:37 +0000
Dear all,
I want to use savev to save a pixbuf to png/jpeg without options, but occur some problem:
pb.savev("screenshot.jpg", "jpeg", null, null);
I try to fill null, empty String or array but still occur different problem like "may not be null", "Unrecognized parameter () passed to JPEG saver".
and also found if use seed _javascript_ framework, i can use pb.save("filename", "jpeg") to save pixbuf. (but i want to write a gnome-shell extension, so needing to use gjs)
any idea for this problem?
my GTK version is 3.0.2-70.3
Thanks,
Yuren
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]