[Gimp-developer] file_jpeg_save in a c plugin
Javier R.
forums at gimpusers.com
Thu Jul 16 07:52:28 PDT 2009
Hola, hi.
I am trying to save an image as a jpeg file in a c-plugin.
The problem is that I have not been able to use the file_jpeg_save
function.
Any help appreciated! Thanks!
(code excerpt)
// works!
gimp_file_save(GIMP_RUN_INTERACTIVE,
nimage,
vector_drawables[i]->drawable_id,
name, name);
// DOES NOT WORK! :(
file_jpeg_save(GIMP_RUN_NONINTERACTIVE,
nimage,
vector_drawables[i]->drawable_id,
name,
name,
quality,
0,
1,
1,
"",
0,
1,
0,
2); // 14 parameters
--
Javier R. (via www.gimpusers.com)
More information about the Gimp-developer
mailing list