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)
_______________________________________________
Gimp-developer mailing list
[email protected]
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer