Gimp-Forum.net

Full Version: Late binding / COM for opening an image into GIMP?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys, I'm looking for a way to use .net to open up a application in Gimp,

Something like:


Code:
dynamic app= Activator.CreateInstance(Type.GetTypeFromProgID("Gimp.Application", true));
app.Load("D:\a.png");
AFAIK nothing Windows specific to start Gimp. If you want to use Gimp from some other application, start it like an external application.
(08-04-2017, 08:09 PM)Ofnuts Wrote: [ -> ]AFAIK nothing Windows specific to start Gimp. If you want to use Gimp from some other application, start it like an external application.

Do you know if it hasĀ a CLI argument to pass it and load an image once I've opened it? Thanks!
The GIMP command line options are detailed here: https://www.gimp.org/man/gimp.html