-
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