file_jpeg_save in a c plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux