-
Use
Gdk.Pixbuf.savev
instead ofsave
if you want to change container options upon saving file.Gdk.Pixbuf pixbuf = new Gdk.Pixbuf.new_from_whatever(); pixbuf.savev("foo.jpg", "jpeg", new string[1]{"quality"}, new string[1]{"80"}); //this sets image quality to 80
Refer gdk-pixbuf/io-<formatname>.c function real_save_<formatname> for options' list.
Last active
December 19, 2015 16:38
-
-
Save develop7/5984684 to your computer and use it in GitHub Desktop.
Stuff I've learned today
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment