[Gimp-developer] Exporting a TIFF file

Victor Lavaud via gimp-developer-list <[email protected]>
Newsgroups gmane.comp.video.gimp.devel
Message-ID <CAJk_YfRicvOO+H8AgESOgMVDW_+R47R0P92wfnpQp++5BKWK8g@mail.gmail.com>
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
_______________________________________________
gimp-developer-list mailing list
List address:    [email protected]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.