[Gimp-developer] Exporting a TIFF file
- From: Victor Lavaud <victor lavaud gmail com>
- To: gimp-developer-list gnome org
- Subject: [Gimp-developer] Exporting a TIFF file
- Date: Sun, 12 Jul 2020 11:48:44 +0200
Disclaimer: I'm very new to plug-in programming.
I'm writing a plug-in in C that needs to export a drawable to a temporary
file in TIFF format.
I saw that some plugins [1] can do this, but as far as I see, libgimp only
offers gimp_file_save [2] and gimp_export_image [3], but neither fit my use
case: the former doesn't save to TIFF, and the latter requires user
interaction.
So how can I do this?
Can I call another plug-in from my plug-in? or should I simply link the
other plug-in code to mine?
[1] https://gitlab.gnome.org/GNOME/gimp/-/tree/master/plug-ins/file-tiff
[2]
https://developer.gimp.org/api/2.0/libgimp/libgimp-gimpfileops.html#gimp-file-save
[3]
https://developer.gimp.org/api/2.0/libgimp/libgimp-gimpexport.html#gimp-export-image
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]